<?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 kernel density plot... Maximum number of colours / line styles? in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-kernel-density-plot-Maximum-number-of-colours-line-styles/m-p/511098#M17370</link>
    <description>&lt;P&gt;Dan - you have just saved me from another couple of hours banging my head against a brick wall. Thank you!&lt;/P&gt;</description>
    <pubDate>Wed, 07 Nov 2018 17:29:43 GMT</pubDate>
    <dc:creator>Sam_R</dc:creator>
    <dc:date>2018-11-07T17:29:43Z</dc:date>
    <item>
      <title>SGPLOT kernel density plot... Maximum number of colours / line styles?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-kernel-density-plot-Maximum-number-of-colours-line-styles/m-p/511092#M17368</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to a sgplot in SAS9.4 which overlays 16 different kernel densities.&amp;nbsp; Although all kernels are plotted, once it gets beyond 10 colours/line types the lines are all drawn with the same properties.&amp;nbsp; Does anyone know if there is a maximum number of attributes for overlaid kernels?&amp;nbsp; Code below if that helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sgplot data=graph;&lt;BR /&gt;&amp;nbsp; %do q=1 %to &amp;amp;n;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; %if &amp;amp;&amp;amp;count&amp;amp;q &amp;gt;0 %then %do;&lt;BR /&gt;&amp;nbsp; density &amp;amp;&amp;amp;type.&amp;amp;q / type=kernel name="&amp;amp;q" legendlabel="&amp;amp;&amp;amp;class&amp;amp;q (n=&amp;amp;&amp;amp;count&amp;amp;q)";&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; %end;&lt;BR /&gt;&amp;nbsp; %end;&lt;BR /&gt;&amp;nbsp; keylegend / location=outside position=bottom";&lt;BR /&gt;&amp;nbsp; refline 0 / axis=x label="No Change" labelloc=inside labelpos=min lineattrs=(color=black pattern=ShortDash);&lt;BR /&gt;&amp;nbsp; xaxis label="&amp;amp;typelabel &amp;amp;paramlabel";&lt;BR /&gt;&amp;nbsp; yaxis label='Density';&lt;BR /&gt;&amp;nbsp; run;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Nov 2018 17:12:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-kernel-density-plot-Maximum-number-of-colours-line-styles/m-p/511092#M17368</guid>
      <dc:creator>Sam_R</dc:creator>
      <dc:date>2018-11-07T17:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT kernel density plot... Maximum number of colours / line styles?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-kernel-density-plot-Maximum-number-of-colours-line-styles/m-p/511097#M17369</link>
      <description>&lt;P&gt;Try setting the CYCLEATTRS option on the SGPLOT statement and see if you get better attribute variations:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;proc sgplot data=graph cycleattrs;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope this helps!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Dan&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Nov 2018 17:26:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-kernel-density-plot-Maximum-number-of-colours-line-styles/m-p/511097#M17369</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2018-11-07T17:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT kernel density plot... Maximum number of colours / line styles?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-kernel-density-plot-Maximum-number-of-colours-line-styles/m-p/511098#M17370</link>
      <description>&lt;P&gt;Dan - you have just saved me from another couple of hours banging my head against a brick wall. Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 07 Nov 2018 17:29:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-kernel-density-plot-Maximum-number-of-colours-line-styles/m-p/511098#M17370</guid>
      <dc:creator>Sam_R</dc:creator>
      <dc:date>2018-11-07T17:29:43Z</dc:date>
    </item>
  </channel>
</rss>

