<?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: X Axis - Create Tick lines in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/X-Axis-Create-Tick-lines/m-p/284963#M10077</link>
    <description>&lt;P&gt;Unfortunately, you did not attach any data. &amp;nbsp;So it is not possible to run your code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With SAS 9.4, you can use the XAXISTABLE to display the tabular data. &amp;nbsp;Is there a reason you are not using it?&lt;/P&gt;
&lt;P&gt;Here are some examples: &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.sas.com/content/graphicallyspeaking/?s=xaxistable" target="_blank"&gt;http://blogs.sas.com/content/graphicallyspeaking/?s=xaxistable&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.sas.com/content/graphicallyspeaking/2013/12/16/grouped-bar-chart-with-statisticstable/" target="_blank"&gt;http://blogs.sas.com/content/graphicallyspeaking/2013/12/16/grouped-bar-chart-with-statisticstable/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;GROUPDISPLAY=CLUSTER can now be used with the XAXISTABLE.&lt;/P&gt;</description>
    <pubDate>Fri, 15 Jul 2016 20:14:18 GMT</pubDate>
    <dc:creator>Jay54</dc:creator>
    <dc:date>2016-07-15T20:14:18Z</dc:date>
    <item>
      <title>X Axis - Create Tick lines</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/X-Axis-Create-Tick-lines/m-p/284948#M10071</link>
      <description>&lt;P&gt;I am using SAS 9.4 and I've created a cluster grouped VBAR (2 types in the group). Below the VBAR I've add 4 vlines. I am trying to add tick lines in the bottom x axis to visually segregate the data below the chart aligning with the vbars above. I've attached a pic and I show (in blue) lines I'd like to add. Of course, I'd like straight lines not my messy illustration.&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/12757iE33E3A4F04BFF606/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="vbarvline.PNG" title="vbarvline.PNG" /&gt;</description>
      <pubDate>Fri, 15 Jul 2016 19:27:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/X-Axis-Create-Tick-lines/m-p/284948#M10071</guid>
      <dc:creator>BrianMc</dc:creator>
      <dc:date>2016-07-15T19:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: X Axis - Create Tick lines</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/X-Axis-Create-Tick-lines/m-p/284950#M10072</link>
      <description>&lt;P&gt;Please share your code and (some) data so it is easier to provide a solution.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2016 19:30:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/X-Axis-Create-Tick-lines/m-p/284950#M10072</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2016-07-15T19:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: X Axis - Create Tick lines</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/X-Axis-Create-Tick-lines/m-p/284951#M10073</link>
      <description>&lt;P&gt;This example&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/kb/35/132.html" target="_blank"&gt;http://support.sas.com/kb/35/132.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;shows one way of adding a table of other values below an axis that aligns with the ticks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2016 19:32:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/X-Axis-Create-Tick-lines/m-p/284951#M10073</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-07-15T19:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: X Axis - Create Tick lines</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/X-Axis-Create-Tick-lines/m-p/284958#M10074</link>
      <description />
      <pubDate>Fri, 15 Jul 2016 20:05:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/X-Axis-Create-Tick-lines/m-p/284958#M10074</guid>
      <dc:creator>BrianMc</dc:creator>
      <dc:date>2016-07-15T20:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: X Axis - Create Tick lines</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/X-Axis-Create-Tick-lines/m-p/284959#M10075</link>
      <description>I added the code. Thank you</description>
      <pubDate>Fri, 15 Jul 2016 20:05:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/X-Axis-Create-Tick-lines/m-p/284959#M10075</guid>
      <dc:creator>BrianMc</dc:creator>
      <dc:date>2016-07-15T20:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: X Axis - Create Tick lines</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/X-Axis-Create-Tick-lines/m-p/284960#M10076</link>
      <description>&lt;P&gt;I thought using Vline with VBar there may be a simple solution I am missing. Thank you for your help.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2016 20:07:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/X-Axis-Create-Tick-lines/m-p/284960#M10076</guid>
      <dc:creator>BrianMc</dc:creator>
      <dc:date>2016-07-15T20:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: X Axis - Create Tick lines</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/X-Axis-Create-Tick-lines/m-p/284963#M10077</link>
      <description>&lt;P&gt;Unfortunately, you did not attach any data. &amp;nbsp;So it is not possible to run your code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With SAS 9.4, you can use the XAXISTABLE to display the tabular data. &amp;nbsp;Is there a reason you are not using it?&lt;/P&gt;
&lt;P&gt;Here are some examples: &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.sas.com/content/graphicallyspeaking/?s=xaxistable" target="_blank"&gt;http://blogs.sas.com/content/graphicallyspeaking/?s=xaxistable&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.sas.com/content/graphicallyspeaking/2013/12/16/grouped-bar-chart-with-statisticstable/" target="_blank"&gt;http://blogs.sas.com/content/graphicallyspeaking/2013/12/16/grouped-bar-chart-with-statisticstable/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;GROUPDISPLAY=CLUSTER can now be used with the XAXISTABLE.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2016 20:14:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/X-Axis-Create-Tick-lines/m-p/284963#M10077</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2016-07-15T20:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: X Axis - Create Tick lines</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/X-Axis-Create-Tick-lines/m-p/284972#M10078</link>
      <description>&lt;P&gt;With SAS 9.4M3, you can do a graph like this with fewer lines of code. &amp;nbsp;Note use of color bands to separate the columns. &amp;nbsp;AxisTable does&amp;nbsp;not have options to draw the column borders. &amp;nbsp;VBARBASIC is used if the color bands are to be hidden using the BAND. &amp;nbsp;Else you can just use VBAR.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/4101i0217272D8BEE93B8/image-size/medium?v=v2&amp;amp;px=-1" border="0" alt="BarWithTable.png" title="BarWithTable.png" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;title h=10pt 'Auto Statistics';
proc sgplot data=sashelp.cars(where=(type ne 'Hybrid')) noborder;
  format mpg_city mpg_highway horsepower 3.0;
  styleattrs datacolors=(lightgreen gold forestgreen)
             datacontrastcolors=(lightgreen gold forestgreen)
             axisextent=data;
  band x=type lower=0 upper=340 / fill nooutline fillattrs=graphwalls;
  vbarbasic type / response=horsepower dataskin=pressed stat=mean name='a' 
       group=origin groupdisplay=cluster baselineattrs=(thickness=0);
  xaxistable mpg_city mpg_highway horsepower / class=origin classdisplay=cluster 
       stat=mean colorgroup=origin location=inside;
  xaxis display=(noticks nolabel noline) colorbands=even colorbandsattrs=(transparency=0.4);
  keylegend 'a' / location=inside position=topright across=1 title='';
  yaxis offsetmax=0;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2016 20:59:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/X-Axis-Create-Tick-lines/m-p/284972#M10078</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2016-07-15T20:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: X Axis - Create Tick lines</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/X-Axis-Create-Tick-lines/m-p/285018#M10086</link>
      <description>&lt;P&gt;Sanjay - perfect! I thought I reviewed all the great work you've done. I missed this one. Thanks again.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jul 2016 11:01:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/X-Axis-Create-Tick-lines/m-p/285018#M10086</guid>
      <dc:creator>BrianMc</dc:creator>
      <dc:date>2016-07-16T11:01:25Z</dc:date>
    </item>
  </channel>
</rss>

