<?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: VALUES statement in the PROC SGPLOT does not work? in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/VALUES-statement-in-the-PROC-SGPLOT-does-not-work/m-p/598843#M19028</link>
    <description>&lt;P&gt;The tick at 1 likely does not appear as there is not enough space on the graph and that likely causes a note like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;NOTE: Some of the tick values have been thinned.
&lt;/PRE&gt;
&lt;P&gt;And once the "thinning" process starts other values get removed.&lt;/P&gt;
&lt;P&gt;Example that places irregular intervals:&lt;/P&gt;
&lt;PRE&gt;proc sgplot data=sashelp.class;
scatter x=height y=weight / markerattrs=(symbol=plus) GROUP=sex ;
xaxis offsetmin=0.015 offsetmax=0.015 max=70 values=(40  47 53 62 70);
run;&lt;/PRE&gt;
&lt;P&gt;But if I add 41 to the values then not only does the 41 not appear but 47, 53 and 70 do not appear on the axis.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc sgplot data=sashelp.class;
scatter x=height y=weight / markerattrs=(symbol=plus) GROUP=sex ;
xaxis offsetmin=0.015 offsetmax=0.015 max=70 values=(40 41 47 53 62 70);
run;&lt;/PRE&gt;
&lt;P&gt;With a range of 0 to 60 I am not quite sure what a tick mark at 1 tells you. If that is hypercritical then perhaps dropping 1 from the VALUES and adding a REFLINE at value 1 with&amp;nbsp; an interesting label might be a good idea.&lt;/P&gt;</description>
    <pubDate>Wed, 23 Oct 2019 21:27:09 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2019-10-23T21:27:09Z</dc:date>
    <item>
      <title>VALUES statement in the PROC SGPLOT does not work?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/VALUES-statement-in-the-PROC-SGPLOT-does-not-work/m-p/598828#M19026</link>
      <description>&lt;P&gt;Hi there, I want to display uneven value in the axis using proc sgplot, but it looks like the VALUE statement does not work. My code is attached below. But the output plot only shows 0, 12, 36, and 60 in the axis.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc sgplot data=cif1;&lt;BR /&gt;step x=months_to_scenario1 y=cif/group=study_id name="curve";&lt;BR /&gt;scatter x=months_to_scenario1 y=cenp / markerattrs=(symbol=plus) GROUP=study_id ;&lt;BR /&gt;text x=t1 y=s1 text=texc1/position=center textattrs=(size=10) outline;&lt;BR /&gt;xaxis offsetmin=0.015 offsetmax=0.015 max=60 &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;values=(0 1 12 24 36 48 60)&lt;/STRONG&gt;&lt;/FONT&gt;;&lt;BR /&gt;yaxis max=0.25;&lt;BR /&gt;keylegend "curve";&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 20:30:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/VALUES-statement-in-the-PROC-SGPLOT-does-not-work/m-p/598828#M19026</guid>
      <dc:creator>Tiny_Kane</dc:creator>
      <dc:date>2019-10-23T20:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: VALUES statement in the PROC SGPLOT does not work?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/VALUES-statement-in-the-PROC-SGPLOT-does-not-work/m-p/598832#M19027</link>
      <description>&lt;P&gt;I can't see your data, so needless to say, this is untested. I think you just need to use the &lt;A href="https://documentation.sas.com/?docsetId=grstatproc&amp;amp;docsetTarget=p07m2vpyq75fgan14m6g5pphnwlr.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_self"&gt;VALUESHINT Option&lt;/A&gt;&amp;nbsp;in the xaxis Statement.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 20:36:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/VALUES-statement-in-the-PROC-SGPLOT-does-not-work/m-p/598832#M19027</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2019-10-23T20:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: VALUES statement in the PROC SGPLOT does not work?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/VALUES-statement-in-the-PROC-SGPLOT-does-not-work/m-p/598843#M19028</link>
      <description>&lt;P&gt;The tick at 1 likely does not appear as there is not enough space on the graph and that likely causes a note like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;NOTE: Some of the tick values have been thinned.
&lt;/PRE&gt;
&lt;P&gt;And once the "thinning" process starts other values get removed.&lt;/P&gt;
&lt;P&gt;Example that places irregular intervals:&lt;/P&gt;
&lt;PRE&gt;proc sgplot data=sashelp.class;
scatter x=height y=weight / markerattrs=(symbol=plus) GROUP=sex ;
xaxis offsetmin=0.015 offsetmax=0.015 max=70 values=(40  47 53 62 70);
run;&lt;/PRE&gt;
&lt;P&gt;But if I add 41 to the values then not only does the 41 not appear but 47, 53 and 70 do not appear on the axis.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc sgplot data=sashelp.class;
scatter x=height y=weight / markerattrs=(symbol=plus) GROUP=sex ;
xaxis offsetmin=0.015 offsetmax=0.015 max=70 values=(40 41 47 53 62 70);
run;&lt;/PRE&gt;
&lt;P&gt;With a range of 0 to 60 I am not quite sure what a tick mark at 1 tells you. If that is hypercritical then perhaps dropping 1 from the VALUES and adding a REFLINE at value 1 with&amp;nbsp; an interesting label might be a good idea.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 21:27:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/VALUES-statement-in-the-PROC-SGPLOT-does-not-work/m-p/598843#M19028</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-10-23T21:27:09Z</dc:date>
    </item>
  </channel>
</rss>

