<?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: Color code the data points in proc gplot in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Color-code-the-data-points-in-proc-gplot/m-p/284158#M10055</link>
    <description>&lt;P&gt;What version of SAS are you using?&lt;/P&gt;</description>
    <pubDate>Wed, 13 Jul 2016 18:29:26 GMT</pubDate>
    <dc:creator>DanH_sas</dc:creator>
    <dc:date>2016-07-13T18:29:26Z</dc:date>
    <item>
      <title>Color code the data points in proc gplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Color-code-the-data-points-in-proc-gplot/m-p/284154#M10054</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way I can color code the Y-axis data points used in proc gplot for example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ID YData XData&lt;/P&gt;
&lt;P&gt;101 10 10&lt;/P&gt;
&lt;P&gt;101 20 20&lt;/P&gt;
&lt;P&gt;101 30 30&lt;/P&gt;
&lt;P&gt;102 10 40&lt;/P&gt;
&lt;P&gt;102 20 50&lt;/P&gt;
&lt;P&gt;102 30 60&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using proc gplot YData * XData = ID and would like to color code each YData i.e. value 10 gets color blue, value 20 gets color red, value 30 gets color orange.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, all the data points for each ID should be connected using a black line.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2016 18:26:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Color-code-the-data-points-in-proc-gplot/m-p/284154#M10054</guid>
      <dc:creator>sfo</dc:creator>
      <dc:date>2016-07-13T18:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: Color code the data points in proc gplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Color-code-the-data-points-in-proc-gplot/m-p/284158#M10055</link>
      <description>&lt;P&gt;What version of SAS are you using?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2016 18:29:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Color-code-the-data-points-in-proc-gplot/m-p/284158#M10055</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2016-07-13T18:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: Color code the data points in proc gplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Color-code-the-data-points-in-proc-gplot/m-p/284163#M10056</link>
      <description>&lt;P&gt;I am using 9.2 and prefer to use Proc Gplot&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2016 18:43:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Color-code-the-data-points-in-proc-gplot/m-p/284163#M10056</guid>
      <dc:creator>sfo</dc:creator>
      <dc:date>2016-07-13T18:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Color code the data points in proc gplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Color-code-the-data-points-in-proc-gplot/m-p/284169#M10057</link>
      <description>&lt;P&gt;See if this will work for you:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
input ID YData XData;
cards;
101 10 10
101 20 20
101 30 30
102 10 40
102 20 50
102 30 60
;
run;

symbol1 i=join c=black v=none;
symbol2 i=join c=black v=none;
symbol3 i=none v=dot c=blue;
symbol4 i=none v=dot c=red;
symbol5 i=none v=dot c=orange;
proc gplot data=test;
plot ydata*xdata=id;
plot2 ydata*xdata=ydata;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 13 Jul 2016 18:58:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Color-code-the-data-points-in-proc-gplot/m-p/284169#M10057</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2016-07-13T18:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: Color code the data points in proc gplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Color-code-the-data-points-in-proc-gplot/m-p/284252#M10059</link>
      <description>&lt;P&gt;Thanks for the solution. It worked.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2016 06:30:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Color-code-the-data-points-in-proc-gplot/m-p/284252#M10059</guid>
      <dc:creator>sfo</dc:creator>
      <dc:date>2016-07-14T06:30:02Z</dc:date>
    </item>
  </channel>
</rss>

