<?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 - how to show / force fixed values on x-axis? in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-how-to-show-force-fixed-values-on-x-axis/m-p/808055#M22782</link>
    <description>&lt;P&gt;Hi Folks,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In my swimmer's plot, I have to show Day 1 on x-axis, however, specifying 1 to 210 by 30 make the following measurement points 31, 61, 91, 121 and 181. How to force Day 1 while the rest of the time points on x-axis show 30, 60, 90 and 180 instead?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC SGPLOT DATA=SWIMMER;
HIGHLOW Y=ORDER LOW=TRTSTDY HIGH=TRTENDY / LOWLABEL=SUBJID TYPE=BAR;
XAXIS LABEL='Study Day' VALUES=(1 TO 210 BY 30);
RUN;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cruise_1-1650040943122.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/70440i54A6352BD42F810D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cruise_1-1650040943122.png" alt="Cruise_1-1650040943122.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Apr 2022 16:44:18 GMT</pubDate>
    <dc:creator>Cruise</dc:creator>
    <dc:date>2022-04-15T16:44:18Z</dc:date>
    <item>
      <title>proc sgplot - how to show / force fixed values on x-axis?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-how-to-show-force-fixed-values-on-x-axis/m-p/808055#M22782</link>
      <description>&lt;P&gt;Hi Folks,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In my swimmer's plot, I have to show Day 1 on x-axis, however, specifying 1 to 210 by 30 make the following measurement points 31, 61, 91, 121 and 181. How to force Day 1 while the rest of the time points on x-axis show 30, 60, 90 and 180 instead?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC SGPLOT DATA=SWIMMER;
HIGHLOW Y=ORDER LOW=TRTSTDY HIGH=TRTENDY / LOWLABEL=SUBJID TYPE=BAR;
XAXIS LABEL='Study Day' VALUES=(1 TO 210 BY 30);
RUN;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cruise_1-1650040943122.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/70440i54A6352BD42F810D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cruise_1-1650040943122.png" alt="Cruise_1-1650040943122.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2022 16:44:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-how-to-show-force-fixed-values-on-x-axis/m-p/808055#M22782</guid>
      <dc:creator>Cruise</dc:creator>
      <dc:date>2022-04-15T16:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot - how to show / force fixed values on x-axis?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-how-to-show-force-fixed-values-on-x-axis/m-p/808059#M22783</link>
      <description>&lt;P&gt;Which is exactly what you told it to do with "by 30" that adds 30 to each value (and since the 181+30 is greater than 210 does not display the calculated 211)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try :&lt;/P&gt;
&lt;P&gt;values = (1, 30 to 210 by 30)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2022 17:27:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-how-to-show-force-fixed-values-on-x-axis/m-p/808059#M22783</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-04-15T17:27:03Z</dc:date>
    </item>
  </channel>
</rss>

