<?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 sgpanel max value on x-axis is cut in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-sgpanel-max-value-on-x-axis-is-cut/m-p/571469#M161200</link>
    <description>Reeza, this worked. I swear I tried 0-100 by 5 before. Thanks  a lot!!!</description>
    <pubDate>Fri, 05 Jul 2019 17:56:35 GMT</pubDate>
    <dc:creator>Cruise</dc:creator>
    <dc:date>2019-07-05T17:56:35Z</dc:date>
    <item>
      <title>proc sgpanel max value on x-axis is cut</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-sgpanel-max-value-on-x-axis-is-cut/m-p/571455#M161197</link>
      <description>&lt;P&gt;Hi all:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to show 1 through 100 on my x-axis. I tried min and max and values (1 to 100 by 5). I'm puzzled why max value is not fit with these options defined. I also tried wider margins of width and height in ods graphics with no effect on the x-axis to display 100. &lt;/P&gt;
&lt;P&gt;PCT-MISS is the value for x-axis which has two discrete values 1 and 100. But I really need to keep my preliminary to the first (1) and last(100) value on the x-axis for the preliminary reporting purpose since actual simulation to generate continuous values in between 1-100 takes several hours.&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="age group by stage x axis cut.png" style="width: 576px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/30781iCBA05A980174199A/image-size/large?v=v2&amp;amp;px=999" role="button" title="age group by stage x axis cut.png" alt="age group by stage x axis cut.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have; 
input stage agegrp PCT_MISS HazardRatio_Mean;
cards;
2	1	1	1.000078818
2	1	100	0.997875822
2	2	1	1.000234554
2	2	100	1.016641396
2	3	1	1.000166999
2	3	100	1.019170973
2	4	1	1.00089071
2	4	100	1.102769743
3	1	1	1.000070482
3	1	100	1.013920794
3	2	1	1.000083965
3	2	100	1.009745343
3	3	1	1.000124663
3	3	100	1.025811161
3	4	1	1.000825056
3	4	100	1.084992888
4	1	1	1.000678051
4	1	100	1.095105729
4	2	1	1.001333298
4	2	100	1.142009733
4	3	1	1.002082559
4	3	100	1.203161412
4	4	1	1.00470426
4	4	100	1.509592193
;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Data is attached.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods graphics/width=6in height=6in;
proc sgpanel data=have noautolegend;
panelby agegrp/ novarname columns=2 rows=2;
series  x=PCT_MISS y=HazardRatio_Mean/ GROUP=STAGE;
colaxis label='Labe X' min=1 max=100 grid values=(1 to 100 by 5);
rowaxis label='Label Y' grid values=(1 to 1.5 by 0.01);
title "My Title";
format stage stage. agegrp agegrp.; 
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2019 17:27:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-sgpanel-max-value-on-x-axis-is-cut/m-p/571455#M161197</guid>
      <dc:creator>Cruise</dc:creator>
      <dc:date>2019-07-05T17:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgpanel max value on x-axis is cut</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-sgpanel-max-value-on-x-axis-is-cut/m-p/571463#M161198</link>
      <description>Try 0 to 100 by 5, otherwise you get 1, 6, 11, etc. Not sure how the time to run the previous step relates to this, you're only using the summary data for this, which I'm assuming you've saved somewhere to avoid running it multiple times.</description>
      <pubDate>Fri, 05 Jul 2019 17:44:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-sgpanel-max-value-on-x-axis-is-cut/m-p/571463#M161198</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-07-05T17:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgpanel max value on x-axis is cut</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-sgpanel-max-value-on-x-axis-is-cut/m-p/571466#M161199</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt; Reeza, I think I tried 0-100 by 5. Will try again shortly.&amp;nbsp; I mentioned previous steps because 0-100 by 5 worked fine on the other data where I had all incremental values for PCT_MISS from 1 thru 100. This summary dataset has only 1 and 100. Since this is the only difference between data worked vs not worked I thought not having filling values in between 1 and 100 might be causing this problem on the x-axis. &lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2019 17:51:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-sgpanel-max-value-on-x-axis-is-cut/m-p/571466#M161199</guid>
      <dc:creator>Cruise</dc:creator>
      <dc:date>2019-07-05T17:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgpanel max value on x-axis is cut</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-sgpanel-max-value-on-x-axis-is-cut/m-p/571469#M161200</link>
      <description>Reeza, this worked. I swear I tried 0-100 by 5 before. Thanks  a lot!!!</description>
      <pubDate>Fri, 05 Jul 2019 17:56:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-sgpanel-max-value-on-x-axis-is-cut/m-p/571469#M161200</guid>
      <dc:creator>Cruise</dc:creator>
      <dc:date>2019-07-05T17:56:35Z</dc:date>
    </item>
  </channel>
</rss>

