<?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: Graphing output of Proc Tabulate in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Graphing-output-of-Proc-Tabulate/m-p/98179#M27643</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Apr 2013 14:48:49 GMT</pubDate>
    <dc:creator>dal233</dc:creator>
    <dc:date>2013-04-05T14:48:49Z</dc:date>
    <item>
      <title>Graphing output of Proc Tabulate</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Graphing-output-of-Proc-Tabulate/m-p/98177#M27641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've got a macro that iterates through the variables in a dataset and outputs a table with various responses and other summary statistics.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, for example, one variable might be year and the table generated by proc tabulate would look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Year&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Exposure&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Frequency&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Loss&lt;/P&gt;&lt;P&gt;2008&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10423&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5469&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;2009&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 45390&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.12&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4987&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;2010&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100542&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 29801&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many tables like this are generated for variables other than year and the results are formatted and outputted to a pdf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is how can I accompany the tables with plots in the pdf.&amp;nbsp; In the example above I would like to output the table and then above the table a plot of Year against frequency as a line chart, with year on the x-axis and frequency on the y-axis.&amp;nbsp; I would like to do the same thing for every other variable that gets outputted from the proc tabulate procedure to the pdf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas or pointers from anybody?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Apr 2013 00:41:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Graphing-output-of-Proc-Tabulate/m-p/98177#M27641</guid>
      <dc:creator>dal233</dc:creator>
      <dc:date>2013-04-05T00:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: Graphing output of Proc Tabulate</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Graphing-output-of-Proc-Tabulate/m-p/98178#M27642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; You have 2 choices for graphing: SAS/GRAPH (PROC GPLOT) or ODS GRAPHICS (PROC SGPLOT with a SERIES or a VLINE statement). If you are using EG, you can generate the GPLOT code easily from within the Graph Wizard. If you are in SAS 9.2/9.3, you can try the ODS GRAPHICS DESIGNER to build your graphs in point and click fashion. If you are using code for the TABULATE and you want to use code for the image, then you will need to decide which method you want to use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; If you are new to SAS and new to coding and you are at SAS 9.3, I'd recommend using PROC SGPLOT, as it is probably less verbose code-wise than GPLOT. There are LOTS of SGPLOT examples in user-group papers and on the web. Here are a few to get you started. The references section at the back of each paper lists a bunch of other papers.&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/resources/papers/proceedings11/294-2011.pdf" title="http://support.sas.com/resources/papers/proceedings11/294-2011.pdf"&gt;http://support.sas.com/resources/papers/proceedings11/294-2011.pdf&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/resources/papers/proceedings12/261-2012.pdf" title="http://support.sas.com/resources/papers/proceedings12/261-2012.pdf"&gt;http://support.sas.com/resources/papers/proceedings12/261-2012.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Have fun with graphing!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Apr 2013 12:55:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Graphing-output-of-Proc-Tabulate/m-p/98178#M27642</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2013-04-05T12:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: Graphing output of Proc Tabulate</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Graphing-output-of-Proc-Tabulate/m-p/98179#M27643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Apr 2013 14:48:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Graphing-output-of-Proc-Tabulate/m-p/98179#M27643</guid>
      <dc:creator>dal233</dc:creator>
      <dc:date>2013-04-05T14:48:49Z</dc:date>
    </item>
  </channel>
</rss>

