<?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 default color in Graphs from black to dark gray? in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Change-default-color-in-Graphs-from-black-to-dark-gray/m-p/176827#M6467</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, the defaults themselves are held in templates also.&amp;nbsp; So in styles there is one called "Default".&amp;nbsp; This is used in the absence of any provided.&amp;nbsp; So if you wanted to change the default, then you would need to inherit this (or printer) and change the color etc. to your needs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Apr 2014 09:19:58 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2014-04-11T09:19:58Z</dc:date>
    <item>
      <title>Change default color in Graphs from black to dark gray?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Change-default-color-in-Graphs-from-black-to-dark-gray/m-p/176824#M6464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a lot of codes with graphs. Is there a way to change the default color (text, lines, borders) from black to dark gray? In this way, I would not need to change all of my existing codes.&lt;/P&gt;&lt;P&gt;Hope you guys could help me figure this out. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2014 08:18:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Change-default-color-in-Graphs-from-black-to-dark-gray/m-p/176824#M6464</guid>
      <dc:creator>tosca</dc:creator>
      <dc:date>2014-04-11T08:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: Change default color in Graphs from black to dark gray?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Change-default-color-in-Graphs-from-black-to-dark-gray/m-p/176825#M6465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All output, be it tables, graphs etc. colors, fonts, sizes etc. are controlled by templates.&amp;nbsp; Identify if you have&amp;nbsp; a style statement somewhere then modify that style, or create your own style using proc template.&amp;nbsp; Basic introduction to templates/style:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www2.sas.com/proceedings/sugi31/112-31.pdf" title="http://www2.sas.com/proceedings/sugi31/112-31.pdf"&gt;http://www2.sas.com/proceedings/sugi31/112-31.pdf&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2014 08:48:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Change-default-color-in-Graphs-from-black-to-dark-gray/m-p/176825#M6465</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-04-11T08:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: Change default color in Graphs from black to dark gray?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Change-default-color-in-Graphs-from-black-to-dark-gray/m-p/176826#M6466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. Yes, this is actually my alternative plan. However, I would just like to know if it's possible to change the default instead. Thanks for your suggestion! &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2014 09:06:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Change-default-color-in-Graphs-from-black-to-dark-gray/m-p/176826#M6466</guid>
      <dc:creator>tosca</dc:creator>
      <dc:date>2014-04-11T09:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: Change default color in Graphs from black to dark gray?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Change-default-color-in-Graphs-from-black-to-dark-gray/m-p/176827#M6467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, the defaults themselves are held in templates also.&amp;nbsp; So in styles there is one called "Default".&amp;nbsp; This is used in the absence of any provided.&amp;nbsp; So if you wanted to change the default, then you would need to inherit this (or printer) and change the color etc. to your needs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2014 09:19:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Change-default-color-in-Graphs-from-black-to-dark-gray/m-p/176827#M6467</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-04-11T09:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: Change default color in Graphs from black to dark gray?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Change-default-color-in-Graphs-from-black-to-dark-gray/m-p/176828#M6468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assuming you're using a recent/modern version of SAS (such as 9.2 or higher), as people have said the colors are controlled by the ODS Graph Styles by default.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And *if* you happen to be using traditional sas/graph procs (such as gplot, gchart, gmap, gslide) you can turn off the ods graph styles (using the 'nogstyle' option), and then control the default colors using a goptions colors list - the following shows how to turn everything in the gplot green (or you could use a gray such as gray55 or cx555555, or any other color):&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;goptions reset=all;&lt;/P&gt;&lt;P&gt;options nogstyle;&lt;/P&gt;&lt;P&gt;goptions colors=(green);&lt;/P&gt;&lt;P&gt;proc gplot data=sashelp.class;&lt;/P&gt;&lt;P&gt;plot height*weight;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="foo.png" class="jive-image-thumbnail jive-image" height="484" src="https://communities.sas.com/legacyfs/online/5957_foo.png" width="762" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2014 12:13:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Change-default-color-in-Graphs-from-black-to-dark-gray/m-p/176828#M6468</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2014-04-11T12:13:57Z</dc:date>
    </item>
  </channel>
</rss>

