<?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: can sas plot this graph? in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/can-sas-plot-this-graph/m-p/303091#M10691</link>
    <description>&lt;P&gt;Here is how to do this with SG annotation:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data anno;
function="text";
drawspace="layoutpercent";
anchor="topright";
x1=100; y1=7;
label="Years";
run;

proc sgplot data=sashelp.class noautolegend sganno=anno;
vbar age / group=sex groupdisplay=cluster barwidth=0.8;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/5190iFF5A6F3D8AB02EAE/image-size/medium?v=v2&amp;amp;px=-1" border="0" alt="SGPlot4.png" title="SGPlot4.png" /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 07 Oct 2016 03:11:14 GMT</pubDate>
    <dc:creator>PGStats</dc:creator>
    <dc:date>2016-10-07T03:11:14Z</dc:date>
    <item>
      <title>can sas plot this graph?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/can-sas-plot-this-graph/m-p/302937#M10683</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to plot graph as &amp;nbsp;below.&lt;/P&gt;&lt;P&gt;X-axis has 2 labels.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what's the command i should do?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sgplot data=tmp;&lt;BR /&gt;series x=rownum y=avg ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;xaxis label="X axis";&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/13031i13D2304C24C4E141/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="ScreenHunter_133 Oct. 06 21.26.jpg" title="ScreenHunter_133 Oct. 06 21.26.jpg" /&gt;</description>
      <pubDate>Thu, 06 Oct 2016 13:29:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/can-sas-plot-this-graph/m-p/302937#M10683</guid>
      <dc:creator>kritima</dc:creator>
      <dc:date>2016-10-06T13:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: can sas plot this graph?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/can-sas-plot-this-graph/m-p/302941#M10684</link>
      <description>&lt;P&gt;What version of SAS do you have?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you looked at annotate?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2016 13:40:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/can-sas-plot-this-graph/m-p/302941#M10684</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-10-06T13:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: can sas plot this graph?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/can-sas-plot-this-graph/m-p/302946#M10685</link>
      <description>&lt;P&gt;You probably want to combine the LABEL= option for the XAXIS statement with teh global FOOTNOTE statement.&lt;/P&gt;
&lt;P&gt;Experiment with using the FOOTNOTE JUSTIFY= option to get what you want.&lt;/P&gt;
&lt;P&gt;You might also need to move the legend around. Here's an example to get started:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;footnote justify=center "X axis";
proc sgplot data=sashelp.class;
   vbar age / group=sex response=height stat=mean groupdisplay=cluster;
   xaxis label="(Time)" labelpos=right;
   keylegend / position=topleft location=inside;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2016 13:48:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/can-sas-plot-this-graph/m-p/302946#M10685</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-10-06T13:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: can sas plot this graph?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/can-sas-plot-this-graph/m-p/303091#M10691</link>
      <description>&lt;P&gt;Here is how to do this with SG annotation:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data anno;
function="text";
drawspace="layoutpercent";
anchor="topright";
x1=100; y1=7;
label="Years";
run;

proc sgplot data=sashelp.class noautolegend sganno=anno;
vbar age / group=sex groupdisplay=cluster barwidth=0.8;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/5190iFF5A6F3D8AB02EAE/image-size/medium?v=v2&amp;amp;px=-1" border="0" alt="SGPlot4.png" title="SGPlot4.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2016 03:11:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/can-sas-plot-this-graph/m-p/303091#M10691</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2016-10-07T03:11:14Z</dc:date>
    </item>
  </channel>
</rss>

