<?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 Formatting Boxplot to fit data - graph created has too much white space in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Formatting-Boxplot-to-fit-data-graph-created-has-too-much-white/m-p/46875#M1591</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;﻿﻿The attached boxplot looks great, other than the fact that I have a ton of white space. I wamt wanting to make the width of the graph smaller or the width of the box plots themsevles larger. I have been trying to do this using bwidth option, but with no luck. I am needing to put this plot on a poster, but the grash produced is difficult to read. Thank you for any help you can give. Below is the SAS code used to create the box plot. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc boxplot data=resident;&lt;/P&gt;&lt;P&gt;goptions ftext=CENTX;&lt;/P&gt;&lt;P&gt;symbol value = dot color=red;&lt;/P&gt;&lt;P&gt;plot percent*time/&lt;/P&gt;&lt;P&gt;cboxfill = ywh haxis = axis1 vaxis=axis2 ;&lt;/P&gt;&lt;P&gt;run; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Mar 2012 13:20:05 GMT</pubDate>
    <dc:creator>HyunJee</dc:creator>
    <dc:date>2012-03-28T13:20:05Z</dc:date>
    <item>
      <title>Formatting Boxplot to fit data - graph created has too much white space</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Formatting-Boxplot-to-fit-data-graph-created-has-too-much-white/m-p/46875#M1591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;﻿﻿The attached boxplot looks great, other than the fact that I have a ton of white space. I wamt wanting to make the width of the graph smaller or the width of the box plots themsevles larger. I have been trying to do this using bwidth option, but with no luck. I am needing to put this plot on a poster, but the grash produced is difficult to read. Thank you for any help you can give. Below is the SAS code used to create the box plot. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc boxplot data=resident;&lt;/P&gt;&lt;P&gt;goptions ftext=CENTX;&lt;/P&gt;&lt;P&gt;symbol value = dot color=red;&lt;/P&gt;&lt;P&gt;plot percent*time/&lt;/P&gt;&lt;P&gt;cboxfill = ywh haxis = axis1 vaxis=axis2 ;&lt;/P&gt;&lt;P&gt;run; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 13:20:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Formatting-Boxplot-to-fit-data-graph-created-has-too-much-white/m-p/46875#M1591</guid>
      <dc:creator>HyunJee</dc:creator>
      <dc:date>2012-03-28T13:20:05Z</dc:date>
    </item>
    <item>
      <title>Formatting Boxplot to fit data - graph created has too much white space</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Formatting-Boxplot-to-fit-data-graph-created-has-too-much-white/m-p/46876#M1592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi HyunJee,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc boxplot data=resident;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; plot percent * time / hoffset=25 boxwidth=10;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HOFFSET=25 places the first tick mark 25% of the way across the graph.&amp;nbsp; BOXWIDTH=10 sets the width of each box to 10% of the graph width.&amp;nbsp; You can adust those values to your liking.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bucky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 14:33:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Formatting-Boxplot-to-fit-data-graph-created-has-too-much-white/m-p/46876#M1592</guid>
      <dc:creator>BuckyRansdell</dc:creator>
      <dc:date>2012-03-28T14:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting Boxplot to fit data - graph created has too much white space</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Formatting-Boxplot-to-fit-data-graph-created-has-too-much-white/m-p/46877#M1593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;hi ... you can also try using the HPOS goption ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;proc sort data=sashelp.class out=class;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;by sex;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;goptions reset=all ftext='calibri/bo';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;symbol value = dot color=red;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;title 'default HPOS';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;proc boxplot data=class;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;plot height*sex/ cboxfill = ywh&amp;nbsp; ;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;goptions hpos=30;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;title 'change HPOS to 30';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;proc boxplot data=class;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;plot height*sex/ cboxfill = ywh&amp;nbsp; ;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;more reading ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HPOS is discussed is ... &lt;A href="http://support.sas.com/rnd/datavisualization/papers/GraphBasics.pdf"&gt;http://support.sas.com/rnd/datavisualization/papers/GraphBasics.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and on ... &lt;A href="http://www.sascommunity.org/wiki/Changing_the_Appearance_of_Vertical_Bar_Charts_using_the_HPOS_Option"&gt;http://www.sascommunity.org/wiki/Changing_the_Appearance_of_Vertical_Bar_Charts_using_the_HPOS_Option&lt;/A&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11103i435878CF12F1BD41/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="hpos_default.png" title="hpos_default.png" /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11104i3742333A4EE3A2D8/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="hpos_30.png" title="hpos_30.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 15:06:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Formatting-Boxplot-to-fit-data-graph-created-has-too-much-white/m-p/46877#M1593</guid>
      <dc:creator>MikeZdeb</dc:creator>
      <dc:date>2012-03-28T15:06:07Z</dc:date>
    </item>
  </channel>
</rss>

