<?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 Selected TIck on X-axis in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-Selected-TIck-on-X-axis/m-p/279237#M9933</link>
    <description>&lt;P&gt;Try using the example Sanjay has provided and come back with any further questions. &amp;nbsp;Values option specifies the values which appear on the axis line, it does not restrict any data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, have a look at his excellent blog on Graphs - it covers pretty much anything you can think of:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.sas.com/content/graphicallyspeaking/" target="_blank"&gt;http://blogs.sas.com/content/graphicallyspeaking/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 22 Jun 2016 08:50:47 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2016-06-22T08:50:47Z</dc:date>
    <item>
      <title>PROC SGPLOT Selected TIck on X-axis</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-Selected-TIck-on-X-axis/m-p/279162#M9928</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to display a lab test values for a particular test by visit. There are lot of "unscheduled" visits in the data.&lt;/P&gt;&lt;P&gt;I want to display the values from unscheduled in the graph, but on x-axis I do not want to display "unscheduled"&lt;/P&gt;&lt;P&gt;visits. I only want to display schedule visits like - baseline, week2, week 2, etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can this be done ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For ex :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Visit &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Values&lt;/P&gt;&lt;P&gt;Baseline &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;20&lt;/P&gt;&lt;P&gt;Week 1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;25&lt;/P&gt;&lt;P&gt;Unschedule 1.1 &amp;nbsp; 26&lt;/P&gt;&lt;P&gt;Week 2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;27&lt;/P&gt;&lt;P&gt;Unschedule 2.1 &amp;nbsp; 28&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to display all the above values but in x-axis I want to display only - Baseline, Week 1, Week 2, etc no unschedule visits.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2016 21:07:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-Selected-TIck-on-X-axis/m-p/279162#M9928</guid>
      <dc:creator>Leo9</dc:creator>
      <dc:date>2016-06-21T21:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SGPLOT Selected TIck on X-axis</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-Selected-TIck-on-X-axis/m-p/279163#M9929</link>
      <description>&lt;P&gt;Use the VALUES option on the x-axis to include only the values you want. &amp;nbsp;Provide a format to display the numeric values as the text description on the axis.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2016 21:11:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-Selected-TIck-on-X-axis/m-p/279163#M9929</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2016-06-21T21:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SGPLOT Selected TIck on X-axis</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-Selected-TIck-on-X-axis/m-p/279165#M9930</link>
      <description>&lt;P&gt;Thanks Sanjay. I want all the values to be displayed - including unscheduled visits but I don't want to show the "Unscheduled" visits labels on the x-axis. Basically, I want to display values from all the visits including unschedule visits on the graph but on the x-axis label, I want to show label for selected visits (only schedule visits not unscheduled). I don't know if it is possible.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For ex - I would like to display data from unschedule visits 1.1 but I do not want this label to appear on x-axis. This value should only be in graph.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2016 21:42:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-Selected-TIck-on-X-axis/m-p/279165#M9930</guid>
      <dc:creator>Leo9</dc:creator>
      <dc:date>2016-06-21T21:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SGPLOT Selected TIck on X-axis</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-Selected-TIck-on-X-axis/m-p/279237#M9933</link>
      <description>&lt;P&gt;Try using the example Sanjay has provided and come back with any further questions. &amp;nbsp;Values option specifies the values which appear on the axis line, it does not restrict any data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, have a look at his excellent blog on Graphs - it covers pretty much anything you can think of:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.sas.com/content/graphicallyspeaking/" target="_blank"&gt;http://blogs.sas.com/content/graphicallyspeaking/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2016 08:50:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-Selected-TIck-on-X-axis/m-p/279237#M9933</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-06-22T08:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SGPLOT Selected TIck on X-axis</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-Selected-TIck-on-X-axis/m-p/279410#M9935</link>
      <description>&lt;P&gt;I tried Sanjay's suggestion but it is not working. There are lot of visits in the data. Here is the code I am using.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sgplot data = lb ;&lt;BR /&gt;series x=visitnum y=lbstresn / group = usubjid markers lineattrs = (thickness = 2) ;&lt;BR /&gt;xaxis label = "Study Weeks" &amp;nbsp;type = linear&amp;nbsp;&lt;BR /&gt;values = (1 1.02 2 5.01 6 7 7.01 7.02 8 8.01 8.02 9 9.01 9.02 10 10.01 10.02 10.03 10.04 11 11.01 11.02 11.03 12&lt;BR /&gt;12.01 13 13.01 14 14.01 15 16 16.01 17 17.01 18 19 20 21 22 22.01 23 23.01 24 25 25.01 26 27 28 29&lt;BR /&gt;30 30.01 30.02 31 31.01 31.02 32 32.01 33 33.01 33.02 33.03 33.04 33.05 33.06 33.07 34 34.01 34.02&lt;BR /&gt;34.03 34.04 34.05 34.06 34.07 35 35.01 35.02 35.03 35.04 36 36.01 36.02 36.03 36.05 36.06 36.07 36.08&lt;BR /&gt;36.09 36.1 36.11) &lt;STRONG&gt;valuesformat = tick.&lt;/STRONG&gt; ;&lt;BR /&gt;yaxis label = "ALT (IU/L)" values = (0 to 100 by 10) display = all;&lt;BR /&gt;keylegend / location = outside position = bottom valueattrs = (size=7) title = 'Subject ID';&lt;/P&gt;&lt;P&gt;refline 43 / axis = y lineattrs = (pattern = shortdash) label = 'ULN' labelpos = max;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The tick format is&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Proc format;&lt;/P&gt;&lt;P&gt;value tick&lt;BR /&gt;1 = 'Screening'&lt;BR /&gt;2 = 'Baseline'&lt;BR /&gt;6 = 'Week 1(Day 8)'&lt;BR /&gt;7 = 'Week 2'&lt;BR /&gt;8 = 'Week 3'&lt;BR /&gt;9 = 'Week 4'&lt;BR /&gt;10 = 'Week 5'&lt;BR /&gt;11 = 'Week 6'&lt;BR /&gt;12 = 'Week 7'&lt;BR /&gt;15 = 'Week 8'&lt;BR /&gt;18 = 'Week 9'&lt;BR /&gt;21 = 'Week 10'&lt;BR /&gt;24 = 'Week 11'&lt;BR /&gt;27 = 'Week 12'&lt;BR /&gt;30 = 'Week 13'&lt;BR /&gt;31 = 'Week 14'&lt;BR /&gt;32 = 'Week 15'&lt;BR /&gt;33 = 'Week 16'&lt;BR /&gt;34 = 'Week 20'&lt;BR /&gt;35 = 'Week 28'&lt;BR /&gt;36 = 'Week 36'&lt;BR /&gt;other = ' '&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2016 16:41:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-Selected-TIck-on-X-axis/m-p/279410#M9935</guid>
      <dc:creator>Leo9</dc:creator>
      <dc:date>2016-06-22T16:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SGPLOT Selected TIck on X-axis</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-Selected-TIck-on-X-axis/m-p/279431#M9936</link>
      <description>&lt;P&gt;The VALUES list should contain only the numbers 1 throught 36. The values not directly on 1 - 36 will still plot correctly, since this is a linear axis.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2016 17:18:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-Selected-TIck-on-X-axis/m-p/279431#M9936</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2016-06-22T17:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SGPLOT Selected TIck on X-axis</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-Selected-TIck-on-X-axis/m-p/279434#M9937</link>
      <description>&lt;P&gt;When I change type from "linear" to "discrete" it is plotting all the ticks on x-axis but it is not picking the format.&lt;/P&gt;&lt;P&gt;For example I see ticks - 1, 1.02, 2, etc but these values are not getting displayed as per the format. Basiaclly,&lt;/P&gt;&lt;P&gt;the format tick. is not working when I change type to discrete. What am I missing ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2016 17:29:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-Selected-TIck-on-X-axis/m-p/279434#M9937</guid>
      <dc:creator>Leo9</dc:creator>
      <dc:date>2016-06-22T17:29:41Z</dc:date>
    </item>
  </channel>
</rss>

