<?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 Fun with SAS ODS Graphics: Does this box plot make my MWSUG 2019 paper look too big? in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Fun-with-SAS-ODS-Graphics-Does-this-box-plot-make-my-MWSUG-2019/m-p/597961#M18989</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MWSUG2019PaperSizes.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/33312iD037F9033A914E38/image-size/large?v=v2&amp;amp;px=999" role="button" title="MWSUG2019PaperSizes.png" alt="MWSUG2019PaperSizes.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In addition to hosting SAS conference papers galore, &lt;A href="https://lexjansen.com/" target="_self"&gt;lexjansen.com&lt;/A&gt; displays the sizes of the files that contain them. So, here's a quick box plot of the sizes of the &lt;A href="https://lexjansen.com/cgi-bin/xsl_transform.php?x=mwsug2019" target="_self"&gt;MWSUG 2019 papers&lt;/A&gt; by section, including my own &lt;A href="https://www.lexjansen.com/mwsug/2019/PO/MWSUG-2019-PO-082.pdf" target="_self"&gt;Oh, There's No Place Like SAS ODS Graphics for the Holidays!&lt;/A&gt;, which is revealed to be quite an outlier at 8,887 Kb (it's chock-full of Twitter images). The accompanying (25.6 Mb) PowerPoint e-Poster - with 27 holiday-themed SAS ODS Graphics charts and the code that created them - is &lt;A href="https://1drv.ms/p/s!Ai2il_zKRi_ekgeMJR2K_tE7ntmi?e=W4pb9K" target="_self"&gt;available for viewing or downloading on Microsoft OneDrive&lt;/A&gt;. The e-Poster's designed for a 41" x 23" screen, so it'll show better on a bigger, higher-resolution monitor or TV!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;SAS CODE&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;* Fun with SAS ODS Grapics: MWSUG 2019 Conference Proceedings - Paper Sizes by Section;

data mwsugPapers(keep=size section paper);          * Scrape paper sections, names, sizes from lexjansen.com;
filename mwsug url "https://lexjansen.com/cgi-bin/xsl_transform.php?x=mwsug2019";
infile mwsug recfm=v truncover column=c;
input @;
_infile_=tranwrd(_infile_,"c2a0"x," ");             * Translate non-breaking spaces in web page to Ascii space;
length size 3. section paper $ 255.; retain section paper;
s=index(_infile_,'&amp;lt;span class="stream"&amp;gt;');          * Grab paper section;
if s then section=scan(substr(_infile_,s),2,'&amp;lt;&amp;gt;');
input @"&amp;lt;b&amp;gt;Size&amp;lt;/b&amp;gt;:" size;                         * Grab paper size;
if size then output;
if index(_infile_,'class="paper') then              /* Grab paper name */
  paper=scan(_infile_,-3,'&amp;lt;&amp;gt;');

proc format;                                        * Display sizes as megabytes;
picture mb low-high='00mB' (multiplier=.001);

proc summary data=mwsugPapers nway;                 * Calc # papers, mean/median paper size by section for table;
class section; var size;
output out=mwsugStats n=N mean=Mean median=Median;

proc sql;                                           * Merge paper detail and summary stats;
create table mwsugPapers2 as 
select t1.*, t2.n, t2.mean, t2.median from mwsugPapers t1 left join mwsugStats t2 on t1.section=t2.section;

ods graphics on / antialias height=4in width=8in;                        
proc sgplot data=mwsugPapers2 noautolegend;        * Box plots of paper sizes by section, show paper name for far outliers;
styleattrs datacolors=(CXAEC7E8 CXFFBB78 CX98DF8A CXFF9896 CXC5B0D5 CXC49C94 CXF7B6D2); * Light colors for boxes;
hbox size / category=section datalabel=paper labelfar group=section lineattrs=(color=black) meanattrs=(color=black) 
            medianattrs=(color=black) whiskerattrs=(color=black) outlierattrs=(color=black size=9pt) datalabelattrs=(color=black size=9pt);
inset "MWSUG 2019 Paper Sizes" / position=topright textattrs=(size=14pt);
xaxis display=(nolabel) offsetmin=0 offsetmax=.02 valuesformat=mb. grid values=(0 to 9500 by 1000) valueshint;
yaxis display=(nolabel); 
yaxistable N Mean Median / stat=mean valueattrs=(color=black size=8pt); * Stats pre-calculated and on every obs, so specify stat=mean;
format n mean median comma7.;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;STRONG&gt;e-Poster Screenshot&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="OhTheresNoPlaceLikeSasOsdsGraphicsForTheHolidays.jpg" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/33313i03638087F3BE79E5/image-size/large?v=v2&amp;amp;px=999" role="button" title="OhTheresNoPlaceLikeSasOsdsGraphicsForTheHolidays.jpg" alt="OhTheresNoPlaceLikeSasOsdsGraphicsForTheHolidays.jpg" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 20 Oct 2019 03:05:51 GMT</pubDate>
    <dc:creator>tc</dc:creator>
    <dc:date>2019-10-20T03:05:51Z</dc:date>
    <item>
      <title>Fun with SAS ODS Graphics: Does this box plot make my MWSUG 2019 paper look too big?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Fun-with-SAS-ODS-Graphics-Does-this-box-plot-make-my-MWSUG-2019/m-p/597961#M18989</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MWSUG2019PaperSizes.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/33312iD037F9033A914E38/image-size/large?v=v2&amp;amp;px=999" role="button" title="MWSUG2019PaperSizes.png" alt="MWSUG2019PaperSizes.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In addition to hosting SAS conference papers galore, &lt;A href="https://lexjansen.com/" target="_self"&gt;lexjansen.com&lt;/A&gt; displays the sizes of the files that contain them. So, here's a quick box plot of the sizes of the &lt;A href="https://lexjansen.com/cgi-bin/xsl_transform.php?x=mwsug2019" target="_self"&gt;MWSUG 2019 papers&lt;/A&gt; by section, including my own &lt;A href="https://www.lexjansen.com/mwsug/2019/PO/MWSUG-2019-PO-082.pdf" target="_self"&gt;Oh, There's No Place Like SAS ODS Graphics for the Holidays!&lt;/A&gt;, which is revealed to be quite an outlier at 8,887 Kb (it's chock-full of Twitter images). The accompanying (25.6 Mb) PowerPoint e-Poster - with 27 holiday-themed SAS ODS Graphics charts and the code that created them - is &lt;A href="https://1drv.ms/p/s!Ai2il_zKRi_ekgeMJR2K_tE7ntmi?e=W4pb9K" target="_self"&gt;available for viewing or downloading on Microsoft OneDrive&lt;/A&gt;. The e-Poster's designed for a 41" x 23" screen, so it'll show better on a bigger, higher-resolution monitor or TV!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;SAS CODE&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;* Fun with SAS ODS Grapics: MWSUG 2019 Conference Proceedings - Paper Sizes by Section;

data mwsugPapers(keep=size section paper);          * Scrape paper sections, names, sizes from lexjansen.com;
filename mwsug url "https://lexjansen.com/cgi-bin/xsl_transform.php?x=mwsug2019";
infile mwsug recfm=v truncover column=c;
input @;
_infile_=tranwrd(_infile_,"c2a0"x," ");             * Translate non-breaking spaces in web page to Ascii space;
length size 3. section paper $ 255.; retain section paper;
s=index(_infile_,'&amp;lt;span class="stream"&amp;gt;');          * Grab paper section;
if s then section=scan(substr(_infile_,s),2,'&amp;lt;&amp;gt;');
input @"&amp;lt;b&amp;gt;Size&amp;lt;/b&amp;gt;:" size;                         * Grab paper size;
if size then output;
if index(_infile_,'class="paper') then              /* Grab paper name */
  paper=scan(_infile_,-3,'&amp;lt;&amp;gt;');

proc format;                                        * Display sizes as megabytes;
picture mb low-high='00mB' (multiplier=.001);

proc summary data=mwsugPapers nway;                 * Calc # papers, mean/median paper size by section for table;
class section; var size;
output out=mwsugStats n=N mean=Mean median=Median;

proc sql;                                           * Merge paper detail and summary stats;
create table mwsugPapers2 as 
select t1.*, t2.n, t2.mean, t2.median from mwsugPapers t1 left join mwsugStats t2 on t1.section=t2.section;

ods graphics on / antialias height=4in width=8in;                        
proc sgplot data=mwsugPapers2 noautolegend;        * Box plots of paper sizes by section, show paper name for far outliers;
styleattrs datacolors=(CXAEC7E8 CXFFBB78 CX98DF8A CXFF9896 CXC5B0D5 CXC49C94 CXF7B6D2); * Light colors for boxes;
hbox size / category=section datalabel=paper labelfar group=section lineattrs=(color=black) meanattrs=(color=black) 
            medianattrs=(color=black) whiskerattrs=(color=black) outlierattrs=(color=black size=9pt) datalabelattrs=(color=black size=9pt);
inset "MWSUG 2019 Paper Sizes" / position=topright textattrs=(size=14pt);
xaxis display=(nolabel) offsetmin=0 offsetmax=.02 valuesformat=mb. grid values=(0 to 9500 by 1000) valueshint;
yaxis display=(nolabel); 
yaxistable N Mean Median / stat=mean valueattrs=(color=black size=8pt); * Stats pre-calculated and on every obs, so specify stat=mean;
format n mean median comma7.;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;STRONG&gt;e-Poster Screenshot&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="OhTheresNoPlaceLikeSasOsdsGraphicsForTheHolidays.jpg" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/33313i03638087F3BE79E5/image-size/large?v=v2&amp;amp;px=999" role="button" title="OhTheresNoPlaceLikeSasOsdsGraphicsForTheHolidays.jpg" alt="OhTheresNoPlaceLikeSasOsdsGraphicsForTheHolidays.jpg" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Oct 2019 03:05:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Fun-with-SAS-ODS-Graphics-Does-this-box-plot-make-my-MWSUG-2019/m-p/597961#M18989</guid>
      <dc:creator>tc</dc:creator>
      <dc:date>2019-10-20T03:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: Fun with SAS ODS Graphics: Does this box plot make my MWSUG 2019 paper look too big?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Fun-with-SAS-ODS-Graphics-Does-this-box-plot-make-my-MWSUG-2019/m-p/599087#M19015</link>
      <description>Woah--never knew about yaxistable before--love that.&lt;BR /&gt;&lt;BR /&gt;I would also love the ability to set box width to indicate the number of obs in the category.</description>
      <pubDate>Thu, 24 Oct 2019 16:19:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Fun-with-SAS-ODS-Graphics-Does-this-box-plot-make-my-MWSUG-2019/m-p/599087#M19015</guid>
      <dc:creator>RoyPardee</dc:creator>
      <dc:date>2019-10-24T16:19:46Z</dc:date>
    </item>
  </channel>
</rss>

