<?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: SAS graph suggestion needed in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/SAS-graph-suggestion-needed/m-p/392329#M13442</link>
    <description>&lt;P&gt;You can use multiple SERIES statement with the data in the current form.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Proc sgplot data=modifiedcompare;
&amp;nbsp;&amp;nbsp;&amp;nbsp; series x=month y=old_value ;
&amp;nbsp; &amp;nbsp; series x=month y=new_value
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 31 Aug 2017 19:00:00 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2017-08-31T19:00:00Z</dc:date>
    <item>
      <title>SAS graph suggestion needed</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-graph-suggestion-needed/m-p/392265#M13428</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS can draw different kinds of graphics,I need&amp;nbsp;your suggestion for what kind of SAS graph is the best for my project.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In my project, I need to compare two groups of&amp;nbsp;data for 12 months,new_plan and old_plan&lt;/P&gt;
&lt;P&gt;, the data values are production. &lt;SPAN&gt;new_plan&amp;nbsp;&lt;/SPAN&gt;has better value than old&amp;nbsp;.I want to know how good in graphics by monthly.&lt;/P&gt;
&lt;P&gt;Would you please give me advice on what kind of graph can best discript this&amp;nbsp;comparasion?(value of new group is better in percentage than old.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data compare;
input month new_plan old_plan;
cards;
1	131	115
2	130	114
3	129	113
4	128	112
5	126	110
6	125	109
7	124	108
8	122	107
9	121	106
10	120	104
11	118	103
12	117	102
;
run;&lt;/PRE&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 15:54:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-graph-suggestion-needed/m-p/392265#M13428</guid>
      <dc:creator>GeorgeSAS</dc:creator>
      <dc:date>2017-08-31T15:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: SAS graph suggestion needed</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-graph-suggestion-needed/m-p/392269#M13429</link>
      <description>&lt;P&gt;KISS - Keep it simple.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use a line chart with two lines.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 15:58:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-graph-suggestion-needed/m-p/392269#M13429</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-08-31T15:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: SAS graph suggestion needed</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-graph-suggestion-needed/m-p/392304#M13438</link>
      <description>&lt;P&gt;The data would likely work "best" as&lt;/P&gt;
&lt;P&gt;Month Plan Value&lt;/P&gt;
&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; New&amp;nbsp; 131&lt;/P&gt;
&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Old&amp;nbsp;&amp;nbsp;&amp;nbsp; 114&lt;/P&gt;
&lt;P&gt;etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then&lt;/P&gt;
&lt;P&gt;Proc sgplot data=modifiedcompare;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; series x=month y=value / group=plan;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;A Group variable allows the procedure to produce multiple lines with different colors and possibly line type depending on your current ods style and legend that will indicate, for example, the blue line represent New and the red line is Old plan data.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 17:39:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-graph-suggestion-needed/m-p/392304#M13438</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-08-31T17:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: SAS graph suggestion needed</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-graph-suggestion-needed/m-p/392329#M13442</link>
      <description>&lt;P&gt;You can use multiple SERIES statement with the data in the current form.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Proc sgplot data=modifiedcompare;
&amp;nbsp;&amp;nbsp;&amp;nbsp; series x=month y=old_value ;
&amp;nbsp; &amp;nbsp; series x=month y=new_value
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 19:00:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-graph-suggestion-needed/m-p/392329#M13442</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-08-31T19:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: SAS graph suggestion needed</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-graph-suggestion-needed/m-p/393297#M13496</link>
      <description>Other than two lines, is there a better visual effect graph that can compare them in percentage?&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Tue, 05 Sep 2017 16:33:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-graph-suggestion-needed/m-p/393297#M13496</guid>
      <dc:creator>GeorgeSAS</dc:creator>
      <dc:date>2017-09-05T16:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: SAS graph suggestion needed</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-graph-suggestion-needed/m-p/393298#M13497</link>
      <description>&lt;P&gt;You can overlay two bar charts, one for New, one for Old. &amp;nbsp;You can keep them coincident (reduce bar width for one of them), or put them side by side using DiscreteOffset. &amp;nbsp;If you change data structure to "Grouped" like suggested by BallardW, you can use GROUP role. &amp;nbsp;If the slope of change is important, it is better to use a series plot.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2017 16:38:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-graph-suggestion-needed/m-p/393298#M13497</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2017-09-05T16:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: SAS graph suggestion needed</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-graph-suggestion-needed/m-p/393308#M13498</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10531"&gt;@GeorgeSAS&lt;/a&gt; wrote:&lt;BR /&gt;Other than two lines, is there a better visual effect graph that can compare them in percentage?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;What does that mean?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Other plot suggestions are:&lt;/P&gt;
&lt;P&gt;1. Plot the difference rather than the values&lt;/P&gt;
&lt;P&gt;2. Plot it as a band, with the area between coloured to highlight the differences&lt;/P&gt;
&lt;P&gt;3. Plot bars instead of line&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All of these can be accomplished with SGPLOT.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2017 17:09:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-graph-suggestion-needed/m-p/393308#M13498</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-09-05T17:09:19Z</dc:date>
    </item>
  </channel>
</rss>

