<?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: proc sgapenel / how to eliminate empty space before 0 on the x-axis in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgpanel-how-to-eliminate-empty-space-before-0-on-the-x-axis/m-p/580411#M18668</link>
    <description>Thanks for your response. But it didn't remove the empty space.</description>
    <pubDate>Sun, 11 Aug 2019 15:59:51 GMT</pubDate>
    <dc:creator>Cruise</dc:creator>
    <dc:date>2019-08-11T15:59:51Z</dc:date>
    <item>
      <title>proc sgpanel / how to eliminate empty space before 0 on the x-axis</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgpanel-how-to-eliminate-empty-space-before-0-on-the-x-axis/m-p/580404#M18666</link>
      <description>&lt;P&gt;Hi Folks:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any idea how to eliminate empty space before 0 on the x-axis as shown in the black box in the image below? I have a big&amp;nbsp; 4 by 4 panel plot and eliminating empty space from each panel would help reduce the size of the plot quite bit.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="plot_white_space.png" style="width: 359px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/31666iE0CC3BC42091E71A/image-size/large?v=v2&amp;amp;px=999" role="button" title="plot_white_space.png" alt="plot_white_space.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods graphics/width=14.5 in height=10in;
proc sgpanel data=four1;
panelby SORT/ novarname columns=4 rows=4;
styleattrs DATACONTRASTCOLORS=(BLUE GREEN RED);
series  x=FU y=cr/lineattrs=(pattern=solid thickness=2) GROUP=STAGE NAME='KEY'; 
scatter x=FU y=y2/markerattrs=(size=0) datalabel=y2 DATALABELPOS=BOTTOM;
colaxis label='label' min=1 max=100 grid values=(0 to 60 by 5);
rowaxis label='label' refticks=(values) fitpolicy=thin grid  values=(0 to 1 by 0.01);
keylegend 'KEY'/  title="categories" position=top;
/*INSET N/position=TOPRIGHT;*/
FORMAT y2 5.2; 
title ' ';
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2019 19:07:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-sgpanel-how-to-eliminate-empty-space-before-0-on-the-x-axis/m-p/580404#M18666</guid>
      <dc:creator>Cruise</dc:creator>
      <dc:date>2019-08-12T19:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgapenel / how to eliminate empty space before 0 on the x-axis</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgpanel-how-to-eliminate-empty-space-before-0-on-the-x-axis/m-p/580408#M18667</link>
      <description>&lt;P&gt;colaxis label='label' min=1 max=100 grid values=(1 to 60 by 5);&lt;/P&gt;</description>
      <pubDate>Sun, 11 Aug 2019 15:38:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-sgpanel-how-to-eliminate-empty-space-before-0-on-the-x-axis/m-p/580408#M18667</guid>
      <dc:creator>VDD</dc:creator>
      <dc:date>2019-08-11T15:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgapenel / how to eliminate empty space before 0 on the x-axis</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgpanel-how-to-eliminate-empty-space-before-0-on-the-x-axis/m-p/580411#M18668</link>
      <description>Thanks for your response. But it didn't remove the empty space.</description>
      <pubDate>Sun, 11 Aug 2019 15:59:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-sgpanel-how-to-eliminate-empty-space-before-0-on-the-x-axis/m-p/580411#M18668</guid>
      <dc:creator>Cruise</dc:creator>
      <dc:date>2019-08-11T15:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgapenel / how to eliminate empty space before 0 on the x-axis</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgpanel-how-to-eliminate-empty-space-before-0-on-the-x-axis/m-p/580423#M18669</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/132289"&gt;@Cruise&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use the &lt;A href="https://documentation.sas.com/?docsetId=grstatproc&amp;amp;docsetTarget=p0vyc21mth0jrtn1c4jimudemip4.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#n0k9waq1835u6mn1o9nhh0xlkvz3" target="_blank" rel="noopener"&gt;OFFSETMIN=&lt;/A&gt; option of the COLAXIS statement: Its value (between 0 and 1) determines that "&lt;SPAN&gt;empty space before 0," so zero would be optimal in terms of space saving:&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;colaxis label='label' min=1 max=100 grid values=(0 to 60 by 5) &lt;STRONG&gt;&lt;FONT color="#008000"&gt;offsetmin=0&lt;/FONT&gt;&lt;/STRONG&gt;;&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;There's a similar option OFFSETMAX= for the other end of the axis and both options are available for the ROWAXIS statement, too.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Aug 2019 18:40:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-sgpanel-how-to-eliminate-empty-space-before-0-on-the-x-axis/m-p/580423#M18669</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2019-08-11T18:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgapenel / how to eliminate empty space before 0 on the x-axis</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgpanel-how-to-eliminate-empty-space-before-0-on-the-x-axis/m-p/580425#M18670</link>
      <description>Perfect! no white space now leaving my plot more compact. Thanks!</description>
      <pubDate>Sun, 11 Aug 2019 20:00:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-sgpanel-how-to-eliminate-empty-space-before-0-on-the-x-axis/m-p/580425#M18670</guid>
      <dc:creator>Cruise</dc:creator>
      <dc:date>2019-08-11T20:00:13Z</dc:date>
    </item>
  </channel>
</rss>

