<?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: How to force y-axis show certain value, which is 1 in this case in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/How-to-force-y-axis-show-certain-value-which-is-1-in-this-case/m-p/606720#M76595</link>
    <description>&lt;P&gt;Hello&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;I'd probably use&amp;nbsp;&lt;FONT face="courier new,courier"&gt;0.92 to 1.56 by 0.04&lt;/FONT&gt;. This comes close to your current settings and includes 1.00. The slight compression of the axis could be compensated by reducing the &lt;A href="https://documentation.sas.com/?docsetId=grstatproc&amp;amp;docsetTarget=p0f58khb9ty7t0n16h8rnpgvsgx3.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#n0q53vgk3cuvpyn16v8pcd76lkv2a" target="_blank" rel="noopener"&gt;OFFSETMIN=&lt;/A&gt; and &lt;A href="https://documentation.sas.com/?docsetId=grstatproc&amp;amp;docsetTarget=p0f58khb9ty7t0n16h8rnpgvsgx3.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#n0q7ej564vnx0pn1tuhb5lvx7mnba" target="_blank" rel="noopener"&gt;OFFSETMAX=&lt;/A&gt; values to zero or a small positive value (if necessary).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edit: Thanks for posting conveniently usable code and test data. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 23 Nov 2019 22:10:48 GMT</pubDate>
    <dc:creator>FreelanceReinh</dc:creator>
    <dc:date>2019-11-23T22:10:48Z</dc:date>
    <item>
      <title>How to force y-axis show certain value, which is 1 in this case</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-force-y-axis-show-certain-value-which-is-1-in-this-case/m-p/606711#M76594</link>
      <description>&lt;P&gt;Hello folks:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there any way to force y-axis to show 1.00? See the plot below, that 1.00 is not included. The max values that I have to present on the y-axis are 1.55 or 1.54 and 0.93 or 0.94 for minimum values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried myriad different combinations of (min to max by 0.0n) in my code below with no success. Attached is the underlying data=(have).&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_INCLUDE1.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/34202i9D9C0AB8878E0064/image-size/large?v=v2&amp;amp;px=999" role="button" title="PLOT_INCLUDE1.png" alt="PLOT_INCLUDE1.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thanks for your time.&lt;/P&gt;
&lt;P&gt;I greatly appreciate your help.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods graphics ON;
OPTIONS NOTES; 
ods graphics/width=12in height=4.5in;
proc sgpanel data=HAVE noautolegend;
panelby agegrp/ novarname columns=4 rows=1;
styleattrs DATACONTRASTCOLORS=(BLUE green red);
series  x=PCT_MISS y=HazardRatio_Mean/GROUP=STAGE lineattrs=(pattern=solid);
series  x=PCT_MISS y=ONE/group=stage lineattrs=(pattern=dash) lineattrs=(thickness=4);
REFLINE 1 / LABEL = ('HR=1') lineattrs=(color=BLACK pattern=dash thickness=1.5) LABELPOS=MIN; 
colaxis min=1 max=100 grid values=(0 to 100 by 5) LABELATTRS=(Family=Arial Size=11);
rowaxis grid values=(0.93 to 1.54 by 0.01) LABELATTRS=(Family=Arial Size=11);
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 23 Nov 2019 20:47:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-force-y-axis-show-certain-value-which-is-1-in-this-case/m-p/606711#M76594</guid>
      <dc:creator>Cruise</dc:creator>
      <dc:date>2019-11-23T20:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to force y-axis show certain value, which is 1 in this case</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-force-y-axis-show-certain-value-which-is-1-in-this-case/m-p/606720#M76595</link>
      <description>&lt;P&gt;Hello&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;I'd probably use&amp;nbsp;&lt;FONT face="courier new,courier"&gt;0.92 to 1.56 by 0.04&lt;/FONT&gt;. This comes close to your current settings and includes 1.00. The slight compression of the axis could be compensated by reducing the &lt;A href="https://documentation.sas.com/?docsetId=grstatproc&amp;amp;docsetTarget=p0f58khb9ty7t0n16h8rnpgvsgx3.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#n0q53vgk3cuvpyn16v8pcd76lkv2a" target="_blank" rel="noopener"&gt;OFFSETMIN=&lt;/A&gt; and &lt;A href="https://documentation.sas.com/?docsetId=grstatproc&amp;amp;docsetTarget=p0f58khb9ty7t0n16h8rnpgvsgx3.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#n0q7ej564vnx0pn1tuhb5lvx7mnba" target="_blank" rel="noopener"&gt;OFFSETMAX=&lt;/A&gt; values to zero or a small positive value (if necessary).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edit: Thanks for posting conveniently usable code and test data. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Nov 2019 22:10:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-force-y-axis-show-certain-value-which-is-1-in-this-case/m-p/606720#M76595</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2019-11-23T22:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to force y-axis show certain value, which is 1 in this case</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-force-y-axis-show-certain-value-which-is-1-in-this-case/m-p/606752#M76596</link>
      <description>Thanks a lot. It worked out perfectly!</description>
      <pubDate>Sun, 24 Nov 2019 01:18:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-force-y-axis-show-certain-value-which-is-1-in-this-case/m-p/606752#M76596</guid>
      <dc:creator>Cruise</dc:creator>
      <dc:date>2019-11-24T01:18:18Z</dc:date>
    </item>
  </channel>
</rss>

