<?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: PROC FREQ PLOTS=FREQPLOT in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/PROC-FREQ-PLOTS-FREQPLOT/m-p/590341#M15024</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/193939"&gt;@roroholic123&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to generate a figure displaying the percent distribution of a variable (y-axis) over the number of weeks (x-axis). Here is the code I used:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PROC FREQ DATA=sample;&lt;BR /&gt;TABLES weeks / plots=FreqPlot(scale=percent);/* Graph the percentage of "weeks" */&lt;BR /&gt;TITLE "Figure 1 The Proportional Distribution of weeks";&lt;BR /&gt;RUN;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The returned graph looks perfect for what I wanted. But my questions are:&lt;/P&gt;
&lt;P&gt;1. How to export only the graph? The output also includes a freq table.&lt;/P&gt;
&lt;P&gt;2. How to add a legend to this graph?&lt;/P&gt;
&lt;P&gt;3. How to change the labels on both axes?&lt;/P&gt;
&lt;P&gt;4. How to change the title of this graph? Currently the title is "Distributions of weeks" and I would like to change it to "Figure 1...".&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;OL&gt;
&lt;LI&gt;Use ODS to turn off parts of the output you don't want.&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ods exclude onewayfreqs;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;What do you mean by "legend"?&lt;/LI&gt;
&lt;LI&gt;The LABEL statement in PROC FREQ will let you change the horizontal axis label. I don't think you can change the vertical axis label (unless you modify a template somewhere)&lt;/LI&gt;
&lt;LI&gt;Change the TITLE statement.&lt;/LI&gt;
&lt;/OL&gt;</description>
    <pubDate>Fri, 20 Sep 2019 11:52:10 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2019-09-20T11:52:10Z</dc:date>
    <item>
      <title>PROC FREQ PLOTS=FREQPLOT</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PROC-FREQ-PLOTS-FREQPLOT/m-p/590252#M15013</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to generate a figure displaying the percent distribution of a variable (y-axis) over the number of weeks (x-axis). Here is the code I used:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC FREQ DATA=sample;&lt;BR /&gt;TABLES weeks / plots=FreqPlot(scale=percent);/* Graph the percentage of "weeks" */&lt;BR /&gt;TITLE "Figure 1 The Proportional Distribution of weeks";&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The returned graph looks perfect for what I wanted. But my questions are:&lt;/P&gt;&lt;P&gt;1. How to export only the graph? The output also includes a freq table.&lt;/P&gt;&lt;P&gt;2. How to add a legend to this graph?&lt;/P&gt;&lt;P&gt;3. How to change the labels on both axes?&lt;/P&gt;&lt;P&gt;4. How to change the title of this graph? Currently the title is "Distributions of weeks" and I would like to change it to "Figure 1...".&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2019 03:42:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PROC-FREQ-PLOTS-FREQPLOT/m-p/590252#M15013</guid>
      <dc:creator>roroholic123</dc:creator>
      <dc:date>2019-09-20T03:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: PROC FREQ PLOTS=FREQPLOT</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PROC-FREQ-PLOTS-FREQPLOT/m-p/590341#M15024</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/193939"&gt;@roroholic123&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to generate a figure displaying the percent distribution of a variable (y-axis) over the number of weeks (x-axis). Here is the code I used:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PROC FREQ DATA=sample;&lt;BR /&gt;TABLES weeks / plots=FreqPlot(scale=percent);/* Graph the percentage of "weeks" */&lt;BR /&gt;TITLE "Figure 1 The Proportional Distribution of weeks";&lt;BR /&gt;RUN;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The returned graph looks perfect for what I wanted. But my questions are:&lt;/P&gt;
&lt;P&gt;1. How to export only the graph? The output also includes a freq table.&lt;/P&gt;
&lt;P&gt;2. How to add a legend to this graph?&lt;/P&gt;
&lt;P&gt;3. How to change the labels on both axes?&lt;/P&gt;
&lt;P&gt;4. How to change the title of this graph? Currently the title is "Distributions of weeks" and I would like to change it to "Figure 1...".&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;OL&gt;
&lt;LI&gt;Use ODS to turn off parts of the output you don't want.&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ods exclude onewayfreqs;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;What do you mean by "legend"?&lt;/LI&gt;
&lt;LI&gt;The LABEL statement in PROC FREQ will let you change the horizontal axis label. I don't think you can change the vertical axis label (unless you modify a template somewhere)&lt;/LI&gt;
&lt;LI&gt;Change the TITLE statement.&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Fri, 20 Sep 2019 11:52:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PROC-FREQ-PLOTS-FREQPLOT/m-p/590341#M15024</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-09-20T11:52:10Z</dc:date>
    </item>
  </channel>
</rss>

