<?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 proc sgplot tickmarks negativ to postive with 0 on yaxis? in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-tickmarks-negativ-to-postive-with-0-on-yaxis/m-p/255130#M9247</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I trying to develop the scatter plot by using proc sgplot.&lt;/P&gt;
&lt;P&gt;Min and max values are negative to positive , i wan to show 0 on in the y-axis.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc sgplot data=have;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;scatter y=pct x=dur/group=col&lt;/P&gt;
&lt;P&gt;yaxis values=(&amp;amp;min to &amp;amp;max by 10);&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for example min is -140 &amp;amp; max is 200&lt;/P&gt;
&lt;P&gt;I want yaxis like below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -140 -120 -100 -80 -60 -40 -20 0 20 40 60 80 100 120 140 160 180 200&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Sam&lt;/P&gt;</description>
    <pubDate>Mon, 07 Mar 2016 23:36:04 GMT</pubDate>
    <dc:creator>sam369</dc:creator>
    <dc:date>2016-03-07T23:36:04Z</dc:date>
    <item>
      <title>proc sgplot tickmarks negativ to postive with 0 on yaxis?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-tickmarks-negativ-to-postive-with-0-on-yaxis/m-p/255130#M9247</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I trying to develop the scatter plot by using proc sgplot.&lt;/P&gt;
&lt;P&gt;Min and max values are negative to positive , i wan to show 0 on in the y-axis.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc sgplot data=have;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;scatter y=pct x=dur/group=col&lt;/P&gt;
&lt;P&gt;yaxis values=(&amp;amp;min to &amp;amp;max by 10);&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for example min is -140 &amp;amp; max is 200&lt;/P&gt;
&lt;P&gt;I want yaxis like below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -140 -120 -100 -80 -60 -40 -20 0 20 40 60 80 100 120 140 160 180 200&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Sam&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2016 23:36:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-tickmarks-negativ-to-postive-with-0-on-yaxis/m-p/255130#M9247</guid>
      <dc:creator>sam369</dc:creator>
      <dc:date>2016-03-07T23:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot tickmarks negativ to postive with 0 on yaxis?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-tickmarks-negativ-to-postive-with-0-on-yaxis/m-p/255132#M9248</link>
      <description>&lt;P&gt;You are missing a semicolon at the end of the Scatter statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are getting errors please post them.&lt;/P&gt;
&lt;P&gt;If the results are just not showing all the values then it may be a result of the amount of space your default graph has available.&lt;/P&gt;
&lt;P&gt;If something else, then post data in a data step and the complete proc code you have used.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2016 23:44:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-tickmarks-negativ-to-postive-with-0-on-yaxis/m-p/255132#M9248</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-03-07T23:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot tickmarks negativ to postive with 0 on yaxis?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-tickmarks-negativ-to-postive-with-0-on-yaxis/m-p/255135#M9249</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for the response!!!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not getting the errors.&amp;nbsp; Missing semicolon is a typo.&lt;/P&gt;
&lt;P&gt;i am using :&lt;/P&gt;
&lt;P&gt;yaxis values=(&amp;amp;min to &amp;amp;max by 5);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My values on the plot is getting like this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-130 -110 -90 -70 -50 -30 -10 10 30 50 70 90 110 130 150 170 190&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;want:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-130 -110 -90 -70 -50 -30 -10 &lt;FONT size="6"&gt;&lt;STRONG&gt;0&lt;/STRONG&gt;&lt;/FONT&gt; 10 30 50 70 90 110 130 150 170 190&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2016 23:52:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-tickmarks-negativ-to-postive-with-0-on-yaxis/m-p/255135#M9249</guid>
      <dc:creator>sam369</dc:creator>
      <dc:date>2016-03-07T23:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot tickmarks negativ to postive with 0 on yaxis?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-tickmarks-negativ-to-postive-with-0-on-yaxis/m-p/255142#M9250</link>
      <description>&lt;P&gt;You shown values of -130 -110 -90 -70 -50 -30 -10 10 30 50 70 90 110 130 150 170 190 are because you are using BY 20.&lt;/P&gt;
&lt;P&gt;yaxis values = (-130 to -10 by 20 0 10&amp;nbsp;to 190 by 20) may work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Simplier might be (-140 to 200 by 20) so 0 appears as a multiple of 20 added to -140.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2016 00:07:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-tickmarks-negativ-to-postive-with-0-on-yaxis/m-p/255142#M9250</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-03-08T00:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot tickmarks negativ to postive with 0 on yaxis?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-tickmarks-negativ-to-postive-with-0-on-yaxis/m-p/255147#M9251</link>
      <description>&lt;P&gt;Thank you so Much &lt;SPAN class="UserName lia-user-name lia-user-rank-Super-User"&gt; &lt;A id="link_28" class="lia-link-navigation lia-page-link lia-user-name-link" style="color: #009999;" href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884" target="_self"&gt;&lt;SPAN class="login-bold"&gt;ballardw&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;work like a champ&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sam&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2016 00:28:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-tickmarks-negativ-to-postive-with-0-on-yaxis/m-p/255147#M9251</guid>
      <dc:creator>sam369</dc:creator>
      <dc:date>2016-03-08T00:28:34Z</dc:date>
    </item>
  </channel>
</rss>

