<?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: Ask full code for Sample 36844 in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Ask-full-code-for-Sample-36844/m-p/30990#M956</link>
    <description>Thank you so much, so detailed and very clear...&lt;BR /&gt;
&lt;BR /&gt;
Fairy</description>
    <pubDate>Wed, 16 Dec 2009 08:52:53 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2009-12-16T08:52:53Z</dc:date>
    <item>
      <title>Ask full code for Sample 36844</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Ask-full-code-for-Sample-36844/m-p/30988#M954</link>
      <description>Hi,&lt;BR /&gt;
For &lt;A href="http://support.sas.com/kb/36/844.html" target="_blank"&gt;http://support.sas.com/kb/36/844.html&lt;/A&gt;, the code of this sample is not complete. I am very interested in the pattern setting part. Actually I would like to know the color setting for this graph. Thanks.&lt;BR /&gt;
&lt;BR /&gt;
And is there any page in support site, specially to explain all colors in SAS?I find one page &lt;A href="http://support.sas.com/kb/31/addl/fusion_31471_3_colors.html" target="_blank"&gt;http://support.sas.com/kb/31/addl/fusion_31471_3_colors.html&lt;/A&gt;. If know the RGB, how to specify the related SAS Color? Thank You.....&lt;BR /&gt;
&lt;BR /&gt;
Fairy</description>
      <pubDate>Wed, 16 Dec 2009 04:35:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Ask-full-code-for-Sample-36844/m-p/30988#M954</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-12-16T04:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: Ask full code for Sample 36844</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Ask-full-code-for-Sample-36844/m-p/30989#M955</link>
      <description>Hi:&lt;BR /&gt;
  That code is complete. The colors are set based on the version of SAS that you're using, the destination that you're using and the current color list that's being used and the current set of PATTERN statements in effect. If you did not see the colors as shown on the Results Tab, it's probably because those are the colors that you would get by default in SAS 9.2 and you might be using SAS 9.1.3 or, if you are using SAS 9.2, perhaps you had a different STYLE template in effect when the program was run.&lt;BR /&gt;
 &lt;BR /&gt;
  For example, if you are using SAS 9.1.3 and the default Windows device and displaying your graphs in the GRAPH1 window, then the default colors come from the WIN device driver.&lt;BR /&gt;
 &lt;BR /&gt;
  On the other hand, if you are using SAS 9.2 and the default Windows device and displaying your graphs in the GRAPH1 window, then the default colors come from the current style template (probably the LISTING style) that's being used for the ODS LISTING destination.&lt;BR /&gt;
 &lt;BR /&gt;
  Your choices to change the current colors and/or patterns being used for your output are:&lt;BR /&gt;
1) Change the colors using the COLORS option in the GOPTIONS statement&lt;BR /&gt;
2) Change the colors and patterns for filled areas in PROC GCHART output by using a PATTERN statement&lt;BR /&gt;
3) Use internal procedure options or other GOPTIONS (like CBACK, CPATTERN, etc) to change colors&lt;BR /&gt;
4) Change the colors in the style template in SAS 9.2 &lt;BR /&gt;
 &lt;BR /&gt;
Information about the COLORS graphics option:&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/graphref/61884/HTML/default/gopdict-colors.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/graphref/61884/HTML/default/gopdict-colors.htm&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Information about specifying colors using different color schemes (such as RGB or HLS, etc):&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/graphref/61884/HTML/default/colors-specify-color.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/graphref/61884/HTML/default/colors-specify-color.htm&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
Information about the PATTERN statement:&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/graphref/61884/HTML/default/patternchap.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/graphref/61884/HTML/default/patternchap.htm&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Information about SAS macros for "utility" purposes regarding colors:&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/graphref/61884/HTML/default/colors-specify-color.htm#a002233438" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/graphref/61884/HTML/default/colors-specify-color.htm#a002233438&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
The color chart to which you referred only shows 256 colors and gives their names in various color systems when you hover your mouse over a square on the chart. This is not the only way to figure out color names. You could, in fact, use any HTML color picker to come up with RGB colors for SAS/GRAPH programs, because the HTML colors for RGB can also be used in SAS/GRAPH programs, as explained in the documentation site above.&lt;BR /&gt;
&lt;BR /&gt;
The way you "read" the RGB colors is like this:&lt;BR /&gt;
CXrrggbb&lt;BR /&gt;
where the prefix CX tells SAS that you want to use RGB colors&lt;BR /&gt;
         and rr is the hexadecimal number for red value&lt;BR /&gt;
         and gg is the hexadecimal number for green value&lt;BR /&gt;
         and bb is the hexadecimal number for blue value&lt;BR /&gt;
 &lt;BR /&gt;
Here is a Tech Support note and some user group papers that explicitly talk about color theory and RGB colors:&lt;BR /&gt;
&lt;A href="http://support.sas.com/techsup/technote/ts688/ts688.html" target="_blank"&gt;http://support.sas.com/techsup/technote/ts688/ts688.html&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://www2.sas.com/proceedings/sugi27/p125-27.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi27/p125-27.pdf&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://www2.sas.com/proceedings/sugi28/234-28.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi28/234-28.pdf&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://www.lexjansen.com/pharmasug/2009/tt/tt04.pdf" target="_blank"&gt;http://www.lexjansen.com/pharmasug/2009/tt/tt04.pdf&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
cynthia</description>
      <pubDate>Wed, 16 Dec 2009 06:09:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Ask-full-code-for-Sample-36844/m-p/30989#M955</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2009-12-16T06:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: Ask full code for Sample 36844</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Ask-full-code-for-Sample-36844/m-p/30990#M956</link>
      <description>Thank you so much, so detailed and very clear...&lt;BR /&gt;
&lt;BR /&gt;
Fairy</description>
      <pubDate>Wed, 16 Dec 2009 08:52:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Ask-full-code-for-Sample-36844/m-p/30990#M956</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-12-16T08:52:53Z</dc:date>
    </item>
  </channel>
</rss>

