<?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: SGPLOT vline xaxis statement in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/SGPLOT-vline-xaxis-statement/m-p/122599#M33685</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ideally the x-axis is time with ticks at 0, 50, 100, 150, and 200 days only; the y-axis is alk phos. It will show the mean and 95% CL for alk phos at each of the 5 time points. I am getting all of that now except that there are something like 30 time points and the graph looks cluttered. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 May 2012 11:37:53 GMT</pubDate>
    <dc:creator>MeredithG</dc:creator>
    <dc:date>2012-05-22T11:37:53Z</dc:date>
    <item>
      <title>SGPLOT vline xaxis statement</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SGPLOT-vline-xaxis-statement/m-p/122597#M33683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm working on a vline plot of means (with CIs) over time. My time variable is in days which range from 0 to 194 and I don't want a CI for the many days that will squeeze on the x-axis, so I used the xaxis values= statement but it's being ignored. The documentation says it will be ignored if the values statement creates over 1,000 points, but this doesn't so I'm not sure what I'm doing wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods graphics on;&lt;/P&gt;&lt;P&gt;proc sgplot data=alldat;&lt;/P&gt;&lt;P&gt;&amp;nbsp; vline timedays/response=alkphos&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; stat=mean&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; limits=both&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; limitstat=clm&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; markers datalabel;&lt;/P&gt;&lt;P&gt;&amp;nbsp; xaxis values=(0 to 250 by 50);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(I have also tried "0 to 200 by 50" and "-50 to 250 by 50" with the same result)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 20:09:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SGPLOT-vline-xaxis-statement/m-p/122597#M33683</guid>
      <dc:creator>MeredithG</dc:creator>
      <dc:date>2012-05-21T20:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT vline xaxis statement</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SGPLOT-vline-xaxis-statement/m-p/122598#M33684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you describe how you would like your graph to look? - PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 23:14:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SGPLOT-vline-xaxis-statement/m-p/122598#M33684</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2012-05-21T23:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT vline xaxis statement</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SGPLOT-vline-xaxis-statement/m-p/122599#M33685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ideally the x-axis is time with ticks at 0, 50, 100, 150, and 200 days only; the y-axis is alk phos. It will show the mean and 95% CL for alk phos at each of the 5 time points. I am getting all of that now except that there are something like 30 time points and the graph looks cluttered. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2012 11:37:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SGPLOT-vline-xaxis-statement/m-p/122599#M33685</guid>
      <dc:creator>MeredithG</dc:creator>
      <dc:date>2012-05-22T11:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT vline xaxis statement</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SGPLOT-vline-xaxis-statement/m-p/122600#M33686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you only want 5 time points you have a couple options. One is to use a WHERE clause to restrict data to those values of x.&lt;/P&gt;&lt;P&gt;If you are looking to combine things such that time points from say 25 to 75 display and are considered as time value 50 the easiest might be to create a format centered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some thing like:&lt;/P&gt;&lt;P&gt;proc format;&lt;/P&gt;&lt;P&gt;value myx&lt;/P&gt;&lt;P&gt;-25&amp;nbsp; -&amp;nbsp; 25 = '&amp;nbsp; 0'&lt;/P&gt;&lt;P&gt;25 &amp;lt;-&amp;nbsp; 75 = ' 50'&lt;/P&gt;&lt;P&gt;75 &amp;lt;- 125 = '100'&lt;/P&gt;&lt;P&gt;125 &amp;lt;- 175 = '150'&lt;/P&gt;&lt;P&gt;175 &amp;lt;- 225 = '200'&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in your sgplot syntax add&lt;/P&gt;&lt;P&gt;format timedays myx. ;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2012 14:16:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SGPLOT-vline-xaxis-statement/m-p/122600#M33686</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2012-05-22T14:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT vline xaxis statement</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SGPLOT-vline-xaxis-statement/m-p/122601#M33687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another option is to show the line for all points and the error bars only at your desired points as in :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data allDatGraph;&lt;BR /&gt;set alldat;&lt;BR /&gt;if mod(timedays,50)=0 then alkPhosSpec=alkPhos;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods graphics on;&lt;BR /&gt;proc sgplot data=allDatGraph;&lt;BR /&gt;&amp;nbsp; vline timedays/response=alkphos&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; stat=mean;&lt;BR /&gt;&amp;nbsp; vline timedays/response=alkphosSpec&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; stat=mean&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; limits=both&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; limitstat=clm&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break markers datalabel;&lt;BR /&gt;&amp;nbsp; xaxis fitpolicy=thin;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2012 14:55:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SGPLOT-vline-xaxis-statement/m-p/122601#M33687</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2012-05-22T14:55:21Z</dc:date>
    </item>
  </channel>
</rss>

