<?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: Change of default colors in style in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Change-of-default-colors-in-style/m-p/110430#M4170</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; When I run this code using the STYLE=PRINTER&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;ods pdf file='c:\temp\teststyle.pdf' style=printer;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;proc gchart data=sashelp.class;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; vbar age / discrete sumvar=height type=mean&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; patternid=midpoint;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;quit;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;ods pdf close;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get several different colors (see screenshot)-- not black and white bars. So I wonder whether you have a PATTERN setting or an option that is interfering with the defined colors as set in the style.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is totally possible to change the style and colors used for your graph, but it seems like you have a disconnect someplace if you are not seeing the default colors with the PRINTER style. I'd almost recommend working with Tech Support on this issue. There's no point in figuring how to change the colors if you're not seeing the default colors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you do get to the point that you want to change colors, with SAS/GRAPH, you can do it through the PATTERN statement and the PATTERNID= option and/or you can change the STYLE template, as described at the end of this paper (&lt;A href="http://support.sas.com/resources/papers/proceedings10/033-2010.pdf"&gt;http://support.sas.com/resources/papers/proceedings10/033-2010.pdf&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11213i87E2F828F94C68A8/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="blue_pdf_style_printer.png" title="blue_pdf_style_printer.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Oct 2012 19:34:18 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2012-10-29T19:34:18Z</dc:date>
    <item>
      <title>Change of default colors in style</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Change-of-default-colors-in-style/m-p/110429#M4169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to use the style 'Printer' for a pdf destination. A graph using proc chart is giving me black and white output instead of any colors. Is it possible to get colors (in any given order) in this style?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 18:06:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Change-of-default-colors-in-style/m-p/110429#M4169</guid>
      <dc:creator>VD</dc:creator>
      <dc:date>2012-10-29T18:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: Change of default colors in style</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Change-of-default-colors-in-style/m-p/110430#M4170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; When I run this code using the STYLE=PRINTER&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;ods pdf file='c:\temp\teststyle.pdf' style=printer;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;proc gchart data=sashelp.class;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; vbar age / discrete sumvar=height type=mean&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; patternid=midpoint;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;quit;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;ods pdf close;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get several different colors (see screenshot)-- not black and white bars. So I wonder whether you have a PATTERN setting or an option that is interfering with the defined colors as set in the style.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is totally possible to change the style and colors used for your graph, but it seems like you have a disconnect someplace if you are not seeing the default colors with the PRINTER style. I'd almost recommend working with Tech Support on this issue. There's no point in figuring how to change the colors if you're not seeing the default colors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you do get to the point that you want to change colors, with SAS/GRAPH, you can do it through the PATTERN statement and the PATTERNID= option and/or you can change the STYLE template, as described at the end of this paper (&lt;A href="http://support.sas.com/resources/papers/proceedings10/033-2010.pdf"&gt;http://support.sas.com/resources/papers/proceedings10/033-2010.pdf&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11213i87E2F828F94C68A8/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="blue_pdf_style_printer.png" title="blue_pdf_style_printer.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 19:34:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Change-of-default-colors-in-style/m-p/110430#M4170</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2012-10-29T19:34:18Z</dc:date>
    </item>
  </channel>
</rss>

