<?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 SAS 9.3 PROC SGPLOT yaxis values in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-9-3-PROC-SGPLOT-yaxis-values/m-p/208231#M306724</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good afternoon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently using SAS 9.3 and I have a question about PROC SGPLOT.&amp;nbsp; I am trying to have the yaxis display values from 0 to 10 be increments of 2, followed by a value of 20 and finally a value of 100.&amp;nbsp; I am using the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; proc sgplot data=test;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; scatter x=mean y=cv/markerattrs=(symbol=circlefilled);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; series x=mean y=cv2;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; yaxis values=(0 to 10 by 2 20 100);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The output shows 0 to 10, and the 20, but then the 100 is not being displayed on the axis.&amp;nbsp; The rest of the yaxis is blank.&amp;nbsp; To me, it seems that the 100 tick mark is there, it is just off the graph.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I would like to do is compress everything between 10 and 20, then again between 20 and 100 so that I can see the values between 0 and 10 and then the values at 20 and 100 on the yaxis.&amp;nbsp; Using PROC GPLOT, I can use the axis order option and make the changes that I want.&amp;nbsp; However, for this particular program, I am using SGPLOT.&amp;nbsp; The image below shows what a yaxis would look like when I use GPLOT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="SAS Gplot Yaxis.jpg" class="jive-image" src="https://communities.sas.com/legacyfs/online/11468_SAS Gplot Yaxis.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I saw that in SAS 9.4 there is a yaxis option of RANGES that could be used, but I can't seem to find anything in SAS 9.3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are there any suggestions on what I could do to resolve this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Aug 2015 19:56:46 GMT</pubDate>
    <dc:creator>chris_lampron</dc:creator>
    <dc:date>2015-08-26T19:56:46Z</dc:date>
    <item>
      <title>SAS 9.3 PROC SGPLOT yaxis values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-9-3-PROC-SGPLOT-yaxis-values/m-p/208231#M306724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good afternoon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently using SAS 9.3 and I have a question about PROC SGPLOT.&amp;nbsp; I am trying to have the yaxis display values from 0 to 10 be increments of 2, followed by a value of 20 and finally a value of 100.&amp;nbsp; I am using the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; proc sgplot data=test;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; scatter x=mean y=cv/markerattrs=(symbol=circlefilled);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; series x=mean y=cv2;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; yaxis values=(0 to 10 by 2 20 100);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The output shows 0 to 10, and the 20, but then the 100 is not being displayed on the axis.&amp;nbsp; The rest of the yaxis is blank.&amp;nbsp; To me, it seems that the 100 tick mark is there, it is just off the graph.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I would like to do is compress everything between 10 and 20, then again between 20 and 100 so that I can see the values between 0 and 10 and then the values at 20 and 100 on the yaxis.&amp;nbsp; Using PROC GPLOT, I can use the axis order option and make the changes that I want.&amp;nbsp; However, for this particular program, I am using SGPLOT.&amp;nbsp; The image below shows what a yaxis would look like when I use GPLOT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="SAS Gplot Yaxis.jpg" class="jive-image" src="https://communities.sas.com/legacyfs/online/11468_SAS Gplot Yaxis.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I saw that in SAS 9.4 there is a yaxis option of RANGES that could be used, but I can't seem to find anything in SAS 9.3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are there any suggestions on what I could do to resolve this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 19:56:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-9-3-PROC-SGPLOT-yaxis-values/m-p/208231#M306724</guid>
      <dc:creator>chris_lampron</dc:creator>
      <dc:date>2015-08-26T19:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.3 PROC SGPLOT yaxis values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-9-3-PROC-SGPLOT-yaxis-values/m-p/226957#M306725</link>
      <description>&lt;P&gt;GPLOT is showing you a discrete axis, where the pixel distance between 10 and 20 is the same as between 20 and 100. &amp;nbsp;Your SGPLOT code will create a numeric scaled axis, where 2, 4, etc will&amp;nbsp;be close together, and 100 far away. &amp;nbsp;It is possible some of the smaller values may collide, causing alternate values to get thinned. &amp;nbsp;If you do want the scaled numeric axis and see all values, set FITPOLICY=none.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If&amp;nbsp;you really want a discerte axis like with GPLOT, then set the YAXIS TYPE=discrete, and then set the values on the axis as character values - "20" and so on.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2015 19:07:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-9-3-PROC-SGPLOT-yaxis-values/m-p/226957#M306725</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2015-09-23T19:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.3 PROC SGPLOT yaxis values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-9-3-PROC-SGPLOT-yaxis-values/m-p/226958#M306726</link>
      <description>&lt;P&gt;And, following up, FITPOLICY=none may not be available with SAS 9.3.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2015 19:09:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-9-3-PROC-SGPLOT-yaxis-values/m-p/226958#M306726</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2015-09-23T19:09:23Z</dc:date>
    </item>
  </channel>
</rss>

