<?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: SGPLOT colors in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-colors/m-p/378083#M13062</link>
    <description>&lt;P&gt;Please stop marking your own responses as the correct answer. &amp;nbsp;If&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16777"&gt;@WarrenKuhfeld&lt;/a&gt;&amp;nbsp;'s information helped you, mark his answer as the correct one so that it appears at the top of the page, i.e. question/answer.&lt;/P&gt;</description>
    <pubDate>Fri, 21 Jul 2017 11:54:13 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2017-07-21T11:54:13Z</dc:date>
    <item>
      <title>SGPLOT colors</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-colors/m-p/378043#M13056</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to generate a graph&amp;nbsp;by using proc sgplot. It works but the lines are all black. I would like to attibute differents colors for each group value. I don't know where (and how) I should specify colors&lt;/P&gt;&lt;P&gt;my code is&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;ODS RTF startpage = yes FILE = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"&amp;amp;filename."&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; style = journal ;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;proc sgplot data = BEH_SUITE_INDIC &lt;/FONT&gt;;&lt;/P&gt;&lt;P&gt;xaxis type=discrete;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;series x = ANNEE_AMO_SUITE y = ratio / group =&amp;nbsp;DUREE&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; ;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;xaxis display=(nolabel);&lt;/P&gt;&lt;P&gt;yaxis display=(nolabel);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;ODS RTF CLOSE ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks a lot in advance for your help&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 09:50:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-colors/m-p/378043#M13056</guid>
      <dc:creator>Nasser_DRMCP</dc:creator>
      <dc:date>2017-07-21T09:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT colors</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-colors/m-p/378048#M13057</link>
      <description>&lt;P&gt;First stop on any graph question is this blog:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.sas.com/content/graphicallyspeaking/" target="_blank"&gt;http://blogs.sas.com/content/graphicallyspeaking/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It has code examples for any kind of graph you can think of with code examples. A quick search there shows hundreds of examples:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.sas.com/content/?s=sgplot+color" target="_blank"&gt;http://blogs.sas.com/content/?s=sgplot+color&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 09:54:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-colors/m-p/378048#M13057</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-07-21T09:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT colors</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-colors/m-p/378053#M13058</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/45151"&gt;@RW9&lt;/a&gt;&amp;nbsp;provided good advice. &amp;nbsp;Additionallly, replace journal (a black and white style) with something like Sapphire (a color style suitable for RTF). &amp;nbsp;Also, check out the styles comparison section of this sas/stat chapter on ods graphics.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/documentation/onlinedoc/stat/132/odsgraph.pdf" target="_blank"&gt;https://support.sas.com/documentation/onlinedoc/stat/132/odsgraph.pdf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 10:04:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-colors/m-p/378053#M13058</guid>
      <dc:creator>WarrenKuhfeld</dc:creator>
      <dc:date>2017-07-21T10:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT colors</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-colors/m-p/378056#M13059</link>
      <description>&lt;P&gt;hI Warren&lt;/P&gt;&lt;P&gt;thanks for your respons. I put sapphire. Now my group lines are all blue. What I would like is to get one different color per group.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 10:08:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-colors/m-p/378056#M13059</guid>
      <dc:creator>Nasser_DRMCP</dc:creator>
      <dc:date>2017-07-21T10:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT colors</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-colors/m-p/378062#M13060</link>
      <description>&lt;P&gt;Group colors are definitely not all blue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;ods rtf style=sapphire image_dpi=300;&lt;BR /&gt;proc sgplot data=sashelp.iris;&lt;BR /&gt; reg y=petalwidth x=petallength / group=species;&lt;BR /&gt; run;&lt;BR /&gt;ods rtf close;&lt;/PRE&gt;
&lt;P&gt;I would have to see something reproducible.&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/14122i480F9D518BA642BE/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="iris.png" title="iris.png" /&gt;</description>
      <pubDate>Fri, 21 Jul 2017 10:18:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-colors/m-p/378062#M13060</guid>
      <dc:creator>WarrenKuhfeld</dc:creator>
      <dc:date>2017-07-21T10:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT colors</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-colors/m-p/378081#M13061</link>
      <description>&lt;P&gt;I works ! thanks warren ! have a goodday !&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 11:43:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-colors/m-p/378081#M13061</guid>
      <dc:creator>Nasser_DRMCP</dc:creator>
      <dc:date>2017-07-21T11:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT colors</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-colors/m-p/378083#M13062</link>
      <description>&lt;P&gt;Please stop marking your own responses as the correct answer. &amp;nbsp;If&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16777"&gt;@WarrenKuhfeld&lt;/a&gt;&amp;nbsp;'s information helped you, mark his answer as the correct one so that it appears at the top of the page, i.e. question/answer.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 11:54:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-colors/m-p/378083#M13062</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-07-21T11:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT colors</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-colors/m-p/378084#M13063</link>
      <description>&lt;P&gt;ok sorry !&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 11:55:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-colors/m-p/378084#M13063</guid>
      <dc:creator>Nasser_DRMCP</dc:creator>
      <dc:date>2017-07-21T11:55:14Z</dc:date>
    </item>
  </channel>
</rss>

