<?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: Discrete Axis - Ticks at both ends when using inbetween in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Discrete-Axis-Ticks-at-both-ends-when-using-inbetween/m-p/935174#M24762</link>
    <description>&lt;P&gt;I am not quite sure what you mean by "add a tick at both ends".&lt;/P&gt;
&lt;P&gt;If mean adding more tick mark values, such as 10 and 17 then a VALUES list on the XAXIS statement would work:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc sgplot data=sashelp.class;
    vbarbasic age / response=height stat=mean;
    xaxis tickstyle=inbetween values=(10 to 17 by 1);
run;  &lt;/PRE&gt;</description>
    <pubDate>Tue, 09 Jul 2024 15:59:18 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2024-07-09T15:59:18Z</dc:date>
    <item>
      <title>Discrete Axis - Ticks at both ends when using inbetween</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Discrete-Axis-Ticks-at-both-ends-when-using-inbetween/m-p/935171#M24761</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a trick to add a tick at both ends of the discrete axis beside using annotations?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data=sashelp.class;
    vbarbasic age / response=height stat=mean;
    xaxis tickstyle=inbetween;
run;    &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="question.JPG" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/98258iEB2D317C54F20AEA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="question.JPG" alt="question.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 15:48:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Discrete-Axis-Ticks-at-both-ends-when-using-inbetween/m-p/935171#M24761</guid>
      <dc:creator>xxformat_com</dc:creator>
      <dc:date>2024-07-09T15:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: Discrete Axis - Ticks at both ends when using inbetween</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Discrete-Axis-Ticks-at-both-ends-when-using-inbetween/m-p/935174#M24762</link>
      <description>&lt;P&gt;I am not quite sure what you mean by "add a tick at both ends".&lt;/P&gt;
&lt;P&gt;If mean adding more tick mark values, such as 10 and 17 then a VALUES list on the XAXIS statement would work:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc sgplot data=sashelp.class;
    vbarbasic age / response=height stat=mean;
    xaxis tickstyle=inbetween values=(10 to 17 by 1);
run;  &lt;/PRE&gt;</description>
      <pubDate>Tue, 09 Jul 2024 15:59:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Discrete-Axis-Ticks-at-both-ends-when-using-inbetween/m-p/935174#M24762</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2024-07-09T15:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: Discrete Axis - Ticks at both ends when using inbetween</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Discrete-Axis-Ticks-at-both-ends-when-using-inbetween/m-p/935200#M24763</link>
      <description>&lt;P&gt;I've tried to represent them on my first graph with some yellow.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I see many graphs which are added the ticks before the first bar and after the last bar.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is another example:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tick.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/98261i1635B7696274794F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tick.png" alt="tick.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 17:23:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Discrete-Axis-Ticks-at-both-ends-when-using-inbetween/m-p/935200#M24763</guid>
      <dc:creator>xxformat_com</dc:creator>
      <dc:date>2024-07-09T17:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: Discrete Axis - Ticks at both ends when using inbetween</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Discrete-Axis-Ticks-at-both-ends-when-using-inbetween/m-p/935226#M24765</link>
      <description>&lt;P&gt;Please add some description about where these "tick marks" are supposed to appear.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This image doesn't show any tick marks at all, much less "both ends", and would be created in SAS with a Group variable for the levels showing the colors and the Groupdisplay=cluster option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/184742"&gt;@xxformat_com&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I've tried to represent them on my first graph with some yellow.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I see many graphs which are added the ticks before the first bar and after the last bar.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is another example:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tick.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/98261i1635B7696274794F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tick.png" alt="tick.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 20:07:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Discrete-Axis-Ticks-at-both-ends-when-using-inbetween/m-p/935226#M24765</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2024-07-09T20:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: Discrete Axis - Ticks at both ends when using inbetween</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Discrete-Axis-Ticks-at-both-ends-when-using-inbetween/m-p/935581#M24772</link>
      <description>&lt;P&gt;Why would you want any ticks on that axis at all?&lt;/P&gt;
&lt;P&gt;What purpose do they serve?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2024 13:11:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Discrete-Axis-Ticks-at-both-ends-when-using-inbetween/m-p/935581#M24772</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2024-07-12T13:11:56Z</dc:date>
    </item>
  </channel>
</rss>

