<?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 Plot table and graph in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Plot-table-and-graph/m-p/630952#M19569</link>
    <description>&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I made a simple line graph using proc sgplot; however, I believe that combining the summary statistics table generated using the proc means command in the same plot may be more intuitive.Can anyone help with this. Attached: graph and table&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&amp;nbsp;&lt;/P&gt;&lt;DIV class="branch"&gt;&lt;DIV&gt;&lt;DIV align="center"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 10 Mar 2020 15:13:01 GMT</pubDate>
    <dc:creator>michokwu</dc:creator>
    <dc:date>2020-03-10T15:13:01Z</dc:date>
    <item>
      <title>Plot table and graph</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Plot-table-and-graph/m-p/630952#M19569</link>
      <description>&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I made a simple line graph using proc sgplot; however, I believe that combining the summary statistics table generated using the proc means command in the same plot may be more intuitive.Can anyone help with this. Attached: graph and table&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&amp;nbsp;&lt;/P&gt;&lt;DIV class="branch"&gt;&lt;DIV&gt;&lt;DIV align="center"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 10 Mar 2020 15:13:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Plot-table-and-graph/m-p/630952#M19569</guid>
      <dc:creator>michokwu</dc:creator>
      <dc:date>2020-03-10T15:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: Plot table and graph</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Plot-table-and-graph/m-p/631000#M19572</link>
      <description>&lt;P&gt;More helpful would be including the code you used to create the Proc Means output, the SGPLOT code and example data. Data is best provided as data step code to allow everyone to see the properties of variables and so we can run code against the created data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Depending on the actual data set used for plotting you likely want an XAXISTABLE statement, if plotting the summarized data.&lt;/P&gt;
&lt;P&gt;Otherwise you may want an annotate data set of the summarized values (likely more complex).&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2020 16:20:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Plot-table-and-graph/m-p/631000#M19572</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-03-10T16:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: Plot table and graph</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Plot-table-and-graph/m-p/631037#M19573</link>
      <description>&lt;P&gt;Use an XAXISTABLE. Here is a simulation of how your code probably looks, and how you would use the XAXISTABLE. I put the variable on one statement, but you can put them on multiple statements if you want different visual attributes for each variable.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc summary data=sashelp.class nway;
class age;
var weight;
output out=sumdata mean=mean median=median n=n;
run;

proc sgplot data=sumdata;
xaxis type=discrete;
series x=age y=n;
xaxistable n mean median;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2020 17:51:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Plot-table-and-graph/m-p/631037#M19573</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2020-03-10T17:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Plot table and graph</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Plot-table-and-graph/m-p/631102#M19578</link>
      <description>&lt;P&gt;Thanks for the feedback,&amp;nbsp; due to network issues I was unable to access the application and retrieve the info you required&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2020 21:11:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Plot-table-and-graph/m-p/631102#M19578</guid>
      <dc:creator>michokwu</dc:creator>
      <dc:date>2020-03-10T21:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: Plot table and graph</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Plot-table-and-graph/m-p/631103#M19579</link>
      <description>&lt;P&gt;It works. Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2020 21:12:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Plot-table-and-graph/m-p/631103#M19579</guid>
      <dc:creator>michokwu</dc:creator>
      <dc:date>2020-03-10T21:12:16Z</dc:date>
    </item>
  </channel>
</rss>

