<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Ods graphic with proc boxplot : Font size of insetgroup, axis and box size in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Ods-graphic-with-proc-boxplot-Font-size-of-insetgroup-axis-and/m-p/770286#M22009</link>
    <description>&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;With these options I can only change the font (example font=B) in insetgroup but I want to change the size of the lines (axes and box) on the graph and the texts in insetgroup (example font_size=16), which options do I use?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 24 Sep 2021 16:17:01 GMT</pubDate>
    <dc:creator>Liamb</dc:creator>
    <dc:date>2021-09-24T16:17:01Z</dc:date>
    <item>
      <title>Ods graphic with proc boxplot : Font size of insetgroup, axis and box size</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Ods-graphic-with-proc-boxplot-Font-size-of-insetgroup-axis-and/m-p/770257#M22007</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;I use the sas macro below to make boxplots and I would like to increase the size of texts, axes and boxes to make graphics more readable after inserting them as images in a word document.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;How can I do it?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;%MACRO proc_boxplot(fic_in,titre,var1,var2,var3,klar1,klar2,klar3);

ODS GRAPHICS OFF;

SYMBOL1 V=STAR     C=GREEN ;
SYMBOL2 V=TRIANGLE C=RED ;

TITLE "&amp;amp;titre";

PROC BOXPLOT DATA=&amp;amp;fic_in;
     PLOT &amp;amp;var1*&amp;amp;var2=&amp;amp;var3/BOXSTYLE=schematicidfar SYMBOLORDER=DATA ;
     LABEL &amp;amp;var1="&amp;amp;klar1";
     LABEL &amp;amp;var2="&amp;amp;klar2";
     LABEL &amp;amp;var3="&amp;amp;klar3";
     INSETGROUP n min max Q2 /POS=AXIS ;
RUN;

TITLE "";
GOPTIONS RESET=SYMBOL;
ODS GRAPHICS ON;

%MEND proc_boxplot;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 14:49:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Ods-graphic-with-proc-boxplot-Font-size-of-insetgroup-axis-and/m-p/770257#M22007</guid>
      <dc:creator>Liamb</dc:creator>
      <dc:date>2021-09-24T14:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: Ods graphic with proc boxplot : Font size of insetgroup, axis and box size</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Ods-graphic-with-proc-boxplot-Font-size-of-insetgroup-axis-and/m-p/770278#M22008</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The INSET and INSETGROUP statements of the BOXPLOT procedure have options to specify font and font height.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="xisDoc-refProc"&gt;
&lt;DIV id="statug.boxplot.bptinsetgrp" class="aa-section"&gt;
&lt;DIV id="statug.boxplot.boxplotinsgrpopt" class="aa-table"&gt;
&lt;P class="aa-outputtitle"&gt;Table 5: INSETGROUP Statement Options&lt;/P&gt;
&lt;DIV class="aa-table-contents"&gt;
&lt;TABLE class="aa-tabular"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TH&gt;Option&lt;/TH&gt;
&lt;TH&gt;Description&lt;/TH&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;A href="http://127.0.0.1:60655/help/statug.hlp/statug_boxplot_syntax05.htm#statug.boxplot.insgrp_cfill" target="_blank" rel="noopener"&gt;CFILL=&lt;/A&gt;&lt;/TD&gt;
&lt;TD&gt;Specifies color of inset background&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;A href="http://127.0.0.1:60655/help/statug.hlp/statug_boxplot_syntax05.htm#statug.boxplot.insgrp_cfillh" target="_blank" rel="noopener"&gt;CFILLH=&lt;/A&gt;&lt;/TD&gt;
&lt;TD&gt;Specifies color of inset header background&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;A href="http://127.0.0.1:60655/help/statug.hlp/statug_boxplot_syntax05.htm#statug.boxplot.insgrp_cframe" target="_blank" rel="noopener"&gt;CFRAME=&lt;/A&gt;&lt;/TD&gt;
&lt;TD&gt;Specifies color of inset frame&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;A href="http://127.0.0.1:60655/help/statug.hlp/statug_boxplot_syntax05.htm#statug.boxplot.insgrp_cheader" target="_blank" rel="noopener"&gt;CHEADER=&lt;/A&gt;&lt;/TD&gt;
&lt;TD&gt;Specifies color of inset header text&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;A href="http://127.0.0.1:60655/help/statug.hlp/statug_boxplot_syntax05.htm#statug.boxplot.insgrp_ctext" target="_blank" rel="noopener"&gt;CTEXT=&lt;/A&gt;&lt;/TD&gt;
&lt;TD&gt;Specifies color of inset text&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;A href="http://127.0.0.1:60655/help/statug.hlp/statug_boxplot_syntax05.htm#statug.boxplot.insgrp_font" target="_blank" rel="noopener"&gt;FONT=&lt;/A&gt;&lt;/TD&gt;
&lt;TD&gt;Specifies font of inset text&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;A href="http://127.0.0.1:60655/help/statug.hlp/statug_boxplot_syntax05.htm#statug.boxplot.insgrp_format" target="_blank" rel="noopener"&gt;FORMAT=&lt;/A&gt;&lt;/TD&gt;
&lt;TD&gt;Specifies format of values in inset&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;A href="http://127.0.0.1:60655/help/statug.hlp/statug_boxplot_syntax05.htm#statug.boxplot.insgrp_header" target="_blank" rel="noopener"&gt;HEADER=&lt;/A&gt;&lt;/TD&gt;
&lt;TD&gt;Specifies inset header text&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;A href="http://127.0.0.1:60655/help/statug.hlp/statug_boxplot_syntax05.htm#statug.boxplot.insgrp_height" target="_blank" rel="noopener"&gt;HEIGHT=&lt;/A&gt;&lt;/TD&gt;
&lt;TD&gt;Specifies height of inset and header text&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;A href="http://127.0.0.1:60655/help/statug.hlp/statug_boxplot_syntax05.htm#statug.boxplot.insgrp_noframe" target="_blank" rel="noopener"&gt;NOFRAME&lt;/A&gt;&lt;/TD&gt;
&lt;TD&gt;Suppresses frame around inset&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;A href="http://127.0.0.1:60655/help/statug.hlp/statug_boxplot_syntax05.htm#statug.boxplot.insgrp_position" target="_blank" rel="noopener"&gt;POSITION=&lt;/A&gt;&lt;/TD&gt;
&lt;TD&gt;Specifies position of inset&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;[EDIT]&lt;/FONT&gt; : this is of course &lt;FONT color="#339966"&gt;BEFORE&lt;/FONT&gt;&amp;nbsp;&lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;inserting them as images in a word document.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 24 Sep 2021 15:52:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Ods-graphic-with-proc-boxplot-Font-size-of-insetgroup-axis-and/m-p/770278#M22008</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2021-09-24T15:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: Ods graphic with proc boxplot : Font size of insetgroup, axis and box size</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Ods-graphic-with-proc-boxplot-Font-size-of-insetgroup-axis-and/m-p/770286#M22009</link>
      <description>&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;With these options I can only change the font (example font=B) in insetgroup but I want to change the size of the lines (axes and box) on the graph and the texts in insetgroup (example font_size=16), which options do I use?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 16:17:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Ods-graphic-with-proc-boxplot-Font-size-of-insetgroup-axis-and/m-p/770286#M22009</guid>
      <dc:creator>Liamb</dc:creator>
      <dc:date>2021-09-24T16:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: Ods graphic with proc boxplot : Font size of insetgroup, axis and box size</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Ods-graphic-with-proc-boxplot-Font-size-of-insetgroup-axis-and/m-p/770294#M22010</link>
      <description>&lt;P&gt;For the font size you may use HEIGHT= option, no?&lt;/P&gt;
&lt;P&gt;I will check and come back to you.&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 16:34:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Ods-graphic-with-proc-boxplot-Font-size-of-insetgroup-axis-and/m-p/770294#M22010</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2021-09-24T16:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: Ods graphic with proc boxplot : Font size of insetgroup, axis and box size</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Ods-graphic-with-proc-boxplot-Font-size-of-insetgroup-axis-and/m-p/770298#M22011</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On the PLOT statement, you may specify all the options on this page:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://go.documentation.sas.com/doc/en/statug/15.2/statug_boxplot_syntax06.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/statug/15.2/statug_boxplot_syntax06.htm&lt;/A&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods graphics off;
title; footnote;
proc sort data=sashelp.class out=work.sclass; by sex; run;
proc boxplot data=work.sclass;
   *by sex notsorted;
   plot Height*Sex / ;
   inset min mean max stddev /
      header = 'Overall Statistics'
      pos    = tm;
   insetgroup min max /
      header = 'Extremes by Sex'
      height=4;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If still not satisfied, there are "10 possible ways" to make boxplots in SAS.&lt;/P&gt;
&lt;P&gt;See for example the BOXPLOT statement in the SAS GTL (SAS Graph template Language).&lt;/P&gt;
&lt;P&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/grstatgraph/p0vuh82v39fsasn1vqhzmhdl8y16.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/grstatgraph/p0vuh82v39fsasn1vqhzmhdl8y16.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;And I am sure PROC SGPLOT allows for boxplots as well. PROC SGPLOT support AXISx(2) and AXISy(2) statements for axes definitions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 16:46:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Ods-graphic-with-proc-boxplot-Font-size-of-insetgroup-axis-and/m-p/770298#M22011</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2021-09-24T16:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Ods graphic with proc boxplot : Font size of insetgroup, axis and box size</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Ods-graphic-with-proc-boxplot-Font-size-of-insetgroup-axis-and/m-p/770321#M22012</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/231150"&gt;@Liamb&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;With these options I can only change the font (example font=B) in insetgroup but I want to change the size of the lines (axes and box) on the graph and the texts in insetgroup (example font_size=16), which options do I use?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;AXIS appearance options are in AXIS statements, set with the STYLE= option values 0 to 46 (0 means no line), WIDTH affects the axis line thickness unless Tick mark options also use width, in which case the ticks get the width, NOFRAME is required for this to change appearance for just the axis, otherwise the frame will get the thickness as well.&lt;/P&gt;
&lt;P&gt;Line options on which portion of the box to what? LBOXES=linetype or variablename if you want the different boxes with different lines. The value or variable would be limited to the integers 1 to 46 corresponding to the line type.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or perhaps it is time to change to Proc SGPLOT/SGPANEL.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 17:41:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Ods-graphic-with-proc-boxplot-Font-size-of-insetgroup-axis-and/m-p/770321#M22012</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-09-24T17:41:02Z</dc:date>
    </item>
  </channel>
</rss>

