<?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: Modifying Colors in PROC SGPLOT in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Modifying-Colors-in-PROC-SGPLOT/m-p/136498#M261150</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Listing destination pretty much ignores the ODS styles.&lt;/P&gt;&lt;P&gt;If your looking at a graph in the Results window, that isn't listing output and is likely using your default style. Try ODS HTML style=BP; and see what you get.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Mar 2014 18:59:12 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2014-03-07T18:59:12Z</dc:date>
    <item>
      <title>Modifying Colors in PROC SGPLOT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Modifying-Colors-in-PROC-SGPLOT/m-p/136497#M261149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For some reason this code is not working on my computer.&amp;nbsp; I can not get the color scheme I want to show up.&amp;nbsp; Can someone else run it and let me know if they experience the same problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE style="text-align: left; padding-bottom: 8px; font-style: normal; font-family: monospace; font-size: 11px; font-weight: normal; padding-top: 10px;"&gt;data work.bp;&lt;BR /&gt;&amp;nbsp; infile datalines;&lt;BR /&gt;&amp;nbsp; input dias losys hisys grp $ 13-33 refx refy;&lt;BR /&gt;datalines;&lt;BR /&gt;75 110 190 Severe Hypertension 75 140&lt;BR /&gt;115 110 190 Severe Hypertension 90 140&lt;BR /&gt;75 110 180 Moderate Hypertension 90 190&lt;BR /&gt;110 110 180 Moderate Hypertension . .&lt;BR /&gt;75 110 160 Mild Hypertension . .&lt;BR /&gt;100 110 160 Mild Hypertension . .&lt;BR /&gt;75 110 140 High/Normal . .&lt;BR /&gt;90 110 140 High/Normal . . &lt;BR /&gt;75 110 130 Normal . .&lt;BR /&gt;85 110 130 Normal . .&lt;BR /&gt;75 110 120 Optimal . . &lt;BR /&gt;80 110 120 Optimal . .&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;proc template;&lt;BR /&gt;&amp;nbsp; define style styles.bp;&lt;BR /&gt;&amp;nbsp; parent=styles.listing;&lt;BR /&gt;&amp;nbsp; style graphcolors from graphcolors /&lt;BR /&gt;&amp;nbsp; 'gdata6'=CXFFFFFF&lt;BR /&gt;&amp;nbsp; 'gdata5'=CXF5D9D8&lt;BR /&gt;&amp;nbsp; 'gdata4'=CXEBB3B1&lt;BR /&gt;&amp;nbsp; 'gdata3'=CXE18D8A&lt;BR /&gt;&amp;nbsp; 'gdata2'=CXD76763&lt;BR /&gt;&amp;nbsp; 'gdata1'=CXBF1810;&lt;BR /&gt;&amp;nbsp; end;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;ods listing style=bp;&lt;BR /&gt;title 'Stages of Hypertension';&lt;BR /&gt;&lt;BR /&gt;proc sgplot data=bp;&lt;BR /&gt;&amp;nbsp; band x=dias lower=losys upper=hisys / &lt;BR /&gt;&amp;nbsp; group=grp name="bp";&lt;BR /&gt;&amp;nbsp; series x=refx y=refy / lineattrs=(thickness=2);&lt;BR /&gt;&amp;nbsp; xaxis values=(75 to 115 by 5) label='Diastolic Pressure (mmHg)';&lt;BR /&gt;&amp;nbsp; yaxis values=(110 to 190 by 10) label='Systolic Pressure (mmHg)';&lt;BR /&gt;&amp;nbsp; keylegend "bp" / position=right across=1 title='Stage';&lt;BR /&gt;&amp;nbsp; inset "Isolated" "Systolic" "Hypertension" / position=left textattrs=graphlabeltext;&lt;BR /&gt;run;&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2014 16:16:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Modifying-Colors-in-PROC-SGPLOT/m-p/136497#M261149</guid>
      <dc:creator>Katie</dc:creator>
      <dc:date>2014-03-07T16:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying Colors in PROC SGPLOT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Modifying-Colors-in-PROC-SGPLOT/m-p/136498#M261150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Listing destination pretty much ignores the ODS styles.&lt;/P&gt;&lt;P&gt;If your looking at a graph in the Results window, that isn't listing output and is likely using your default style. Try ODS HTML style=BP; and see what you get.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2014 18:59:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Modifying-Colors-in-PROC-SGPLOT/m-p/136498#M261150</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2014-03-07T18:59:12Z</dc:date>
    </item>
  </channel>
</rss>

