<?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 SGPLOT in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-axis-markers-versus-grid-lines/m-p/512986#M17417</link>
    <description>You can control most of that with the YAXIS statements. Try REFTICKS and the GRID option and DISPLAY= to control the labels/texts. What have you tried so far?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://documentation.sas.com/?docsetId=grstatproc&amp;amp;docsetTarget=p07m2vpyq75fgan14m6g5pphnwlr.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;https://documentation.sas.com/?docsetId=grstatproc&amp;amp;docsetTarget=p07m2vpyq75fgan14m6g5pphnwlr.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;</description>
    <pubDate>Wed, 14 Nov 2018 16:04:25 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2018-11-14T16:04:25Z</dc:date>
    <item>
      <title>PROC SGPLOT axis markers versus grid lines</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-axis-markers-versus-grid-lines/m-p/512971#M17416</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;In my graph I need to display Y axis -8 to 8 by 2 but need horizontal grid lines -8 to 8 by 1 with no label.&lt;BR /&gt;Any ideas?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2018 16:21:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-axis-markers-versus-grid-lines/m-p/512971#M17416</guid>
      <dc:creator>rafikghazaryan9</dc:creator>
      <dc:date>2018-11-14T16:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SGPLOT</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-axis-markers-versus-grid-lines/m-p/512986#M17417</link>
      <description>You can control most of that with the YAXIS statements. Try REFTICKS and the GRID option and DISPLAY= to control the labels/texts. What have you tried so far?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://documentation.sas.com/?docsetId=grstatproc&amp;amp;docsetTarget=p07m2vpyq75fgan14m6g5pphnwlr.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;https://documentation.sas.com/?docsetId=grstatproc&amp;amp;docsetTarget=p07m2vpyq75fgan14m6g5pphnwlr.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;</description>
      <pubDate>Wed, 14 Nov 2018 16:04:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-axis-markers-versus-grid-lines/m-p/512986#M17417</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-11-14T16:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SGPLOT</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-axis-markers-versus-grid-lines/m-p/512994#M17418</link>
      <description>Dear Reeza&lt;BR /&gt;I tried using grid gridvalues options. Did not help.&lt;BR /&gt;I need to display in Y axis -8 -6 -4 -2 0 2 4 6 8 but grid lines need for -8 -7 -6 -5 ...... 8 and without labeling odd points</description>
      <pubDate>Wed, 14 Nov 2018 16:16:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-axis-markers-versus-grid-lines/m-p/512994#M17418</guid>
      <dc:creator>rafikghazaryan9</dc:creator>
      <dc:date>2018-11-14T16:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SGPLOT</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-axis-markers-versus-grid-lines/m-p/512997#M17419</link>
      <description>Can you post an example of what you've tried perhaps with the sashelp.class data set so we can try it as well? Note the options I've stated above so far.</description>
      <pubDate>Wed, 14 Nov 2018 16:18:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-axis-markers-versus-grid-lines/m-p/512997#M17419</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-11-14T16:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SGPLOT</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-axis-markers-versus-grid-lines/m-p/513067#M17420</link>
      <description>&lt;P&gt;One "simplistic" way is to set y-axis values=(-8 to 8 by 2) with grid option.&amp;nbsp; Then add y reflines at the other places and set the refline attributes to the same as the grid lines.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; refline -7 -5 -3 -1 1 3 5 7 / lineattrs=graphgridlines;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;or, just draw the reflines for all values, or from a column that has these values as observations.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc sgplot data=sashelp.class;&lt;BR /&gt; scatter x=height y=weight;&lt;BR /&gt; yaxis values=(0 to 200 by 40) grid;&lt;BR /&gt; refline 20 60 100 140 180 / lineattrs=graphgridlines;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2018 19:22:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-axis-markers-versus-grid-lines/m-p/513067#M17420</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2018-11-14T19:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SGPLOT</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-axis-markers-versus-grid-lines/m-p/513305#M17421</link>
      <description>&lt;P&gt;I want to add to Sanjay's example by mentioning that you can use the SEQUENCE notation on the REFLINE statement as well:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;refline&amp;nbsp;(-7 to 7 by 2) / lineattrs=graphgridlines;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;refline (20 to 180 by 40) / lineattrs=graphgridlines;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Nov 2018 13:43:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-axis-markers-versus-grid-lines/m-p/513305#M17421</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2018-11-15T13:43:25Z</dc:date>
    </item>
  </channel>
</rss>

