<?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: color of multiple lines in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SGPLOT-color-of-multiple-lines/m-p/476840#M30960</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;&amp;nbsp;I think he's on SAS 9.2 which doesn't have a lot of the SGplot features.&lt;/P&gt;</description>
    <pubDate>Tue, 10 Jul 2018 15:00:44 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2018-07-10T15:00:44Z</dc:date>
    <item>
      <title>SGPLOT: color of multiple lines</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SGPLOT-color-of-multiple-lines/m-p/476473#M30930</link>
      <description>&lt;P&gt;Hi. I'm running a multiple line plot with SGPLOT and I get 12 lines of basically the same color. All kinds of beiges or blues. Any way to make it have more vibrant colors?&amp;nbsp; Here's my code and styleattrs does not work for me.&lt;/P&gt;&lt;PRE&gt;proc sort data=dataname;
by Month hour;
run;

proc means data=dataname noprint;
by Month hour;
var Load temp dew win cc;
output out=Meanz mean=;
run;

proc print data=Meanz;
run;

proc sgplot data=Meanz;
series x=Hour y=Load / group=Month lineattrs=(thickness=2 pattern=solid);
xaxis values=(0 to 23 by 1);
run;&lt;/PRE&gt;</description>
      <pubDate>Mon, 09 Jul 2018 14:39:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SGPLOT-color-of-multiple-lines/m-p/476473#M30930</guid>
      <dc:creator>matt23</dc:creator>
      <dc:date>2018-07-09T14:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT: color of multiple lines</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SGPLOT-color-of-multiple-lines/m-p/476474#M30931</link>
      <description>&lt;P&gt;Something like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data=Meanz;
styleattrs datacontrastcolors=(red green blue cyan orange);
series x=Hour y=Load / group=Month lineattrs=(thickness=2 pattern=solid);
xaxis values=(0 to 23 by 1);
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 09 Jul 2018 14:50:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SGPLOT-color-of-multiple-lines/m-p/476474#M30931</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-07-09T14:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT: color of multiple lines</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SGPLOT-color-of-multiple-lines/m-p/476476#M30932</link>
      <description>styleattrs does not work on my version of SAS. Any way around it ?</description>
      <pubDate>Mon, 09 Jul 2018 14:52:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SGPLOT-color-of-multiple-lines/m-p/476476#M30932</guid>
      <dc:creator>matt23</dc:creator>
      <dc:date>2018-07-09T14:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT: color of multiple lines</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SGPLOT-color-of-multiple-lines/m-p/476481#M30933</link>
      <description>&lt;P&gt;What version of SAS is that?&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;What is the ERROR message? Show us the relevant parts of the SASLOG.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2018 15:01:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SGPLOT-color-of-multiple-lines/m-p/476481#M30933</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-07-09T15:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT: color of multiple lines</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SGPLOT-color-of-multiple-lines/m-p/476483#M30934</link>
      <description>&lt;P&gt;Did the DataAttr map not work? If not, trying changing your overall style. Not sure what your destination is, but if it was PDF it would be like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods pdf file='path to file.pdf' &amp;lt;other options&amp;gt; style=seaside;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/216327"&gt;@matt23&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;styleattrs does not work on my version of SAS. Any way around it ?&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2018 15:01:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SGPLOT-color-of-multiple-lines/m-p/476483#M30934</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-07-09T15:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT: color of multiple lines</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SGPLOT-color-of-multiple-lines/m-p/476492#M30936</link>
      <description>I'm using SAS EG 4.3 at the moment.&lt;BR /&gt;&lt;BR /&gt;This is the error:&lt;BR /&gt;112 styleattrs datacontrastcolors=(red green blue cyan orange);&lt;BR /&gt;__________&lt;BR /&gt;180&lt;BR /&gt;ERROR 180-322: Statement is not valid or it is used out of proper order.</description>
      <pubDate>Mon, 09 Jul 2018 15:25:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SGPLOT-color-of-multiple-lines/m-p/476492#M30936</guid>
      <dc:creator>matt23</dc:creator>
      <dc:date>2018-07-09T15:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT: color of multiple lines</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SGPLOT-color-of-multiple-lines/m-p/476496#M30938</link>
      <description>&lt;P&gt;Please show us the relevant parts of the SASLOG. This would be the SASLOG for the entire PROC SGPLOT code from start to end of PROC SGPLOT, including warnings and errors.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2018 15:41:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SGPLOT-color-of-multiple-lines/m-p/476496#M30938</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-07-09T15:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT: color of multiple lines</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SGPLOT-color-of-multiple-lines/m-p/476498#M30939</link>
      <description>&lt;P&gt;proc product_status;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This will give you the SAS version. That’s a really, really old EG version as well. I think current one is 7.3&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2018 15:43:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SGPLOT-color-of-multiple-lines/m-p/476498#M30939</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-07-09T15:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT: color of multiple lines</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SGPLOT-color-of-multiple-lines/m-p/476524#M30941</link>
      <description>&lt;P&gt;I'll just use gplot in this case. But can you help me make these lines thicker and delete the symbols?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;symbol1 i = j value = W font = marker c = vivb h = 1 line = 1 width = 1;
symbol2 i = j value = W font = marker c = bigb h = 1 line = 1 width = 1; 
symbol3 i = j value = W font = marker c = liolbr h = 1 line = 1 width = 1;
symbol4 i = j value = W font = marker c = lilg h = 1 line = 1 width = 1; &lt;/PRE&gt;</description>
      <pubDate>Mon, 09 Jul 2018 17:00:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SGPLOT-color-of-multiple-lines/m-p/476524#M30941</guid>
      <dc:creator>matt23</dc:creator>
      <dc:date>2018-07-09T17:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT: color of multiple lines</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SGPLOT-color-of-multiple-lines/m-p/476628#M30948</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/216327"&gt;@matt23&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I'll just use gplot in this case. But can you help me make these lines thicker and delete the symbols?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;symbol1 i = j value = W font = marker c = vivb h = 1 line = 1 width = 1;
symbol2 i = j value = W font = marker c = bigb h = 1 line = 1 width = 1; 
symbol3 i = j value = W font = marker c = liolbr h = 1 line = 1 width = 1;
symbol4 i = j value = W font = marker c = lilg h = 1 line = 1 width = 1; &lt;/PRE&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;It seems relatively obvious how to make the lines thicker and delete the symbols. You ought to be able to figure this out yourself.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2018 22:37:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SGPLOT-color-of-multiple-lines/m-p/476628#M30948</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-07-09T22:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT: color of multiple lines</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SGPLOT-color-of-multiple-lines/m-p/476798#M30952</link>
      <description>&lt;P&gt;data meanz;&lt;BR /&gt; set sashelp.air;&lt;BR /&gt; group=year(date);&lt;BR /&gt;run;&lt;BR /&gt;proc sgplot data=Meanz &lt;STRONG&gt;NOCYCLEATTRS&lt;/STRONG&gt;;&lt;BR /&gt;series x=date y=air / group=group lineattrs=(thickness=2 pattern=solid);&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;OR try:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods graphics/ ATTRPRIORITY=color;&lt;/P&gt;
&lt;P&gt;proc sgplot ............&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jul 2018 13:49:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SGPLOT-color-of-multiple-lines/m-p/476798#M30952</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2018-07-10T13:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT: color of multiple lines</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SGPLOT-color-of-multiple-lines/m-p/476840#M30960</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;&amp;nbsp;I think he's on SAS 9.2 which doesn't have a lot of the SGplot features.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jul 2018 15:00:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SGPLOT-color-of-multiple-lines/m-p/476840#M30960</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-07-10T15:00:44Z</dc:date>
    </item>
  </channel>
</rss>

