<?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 PROC SGPLOT: how to use different styles based on value for timeseries line? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/PROC-SGPLOT-how-to-use-different-styles-based-on-value-for/m-p/690888#M210208</link>
    <description>&lt;P&gt;I am drawing a timeseries graph with different groups using a BY statement. These groups are percentiles and I am drawing only the top and bottom 10 percentiles. How do I tell SAS to use dash lines for the top 10 groups and solid lines for the bottom 10 groups? Currently, it is using dash line for the top 8 or 9 groups and then solid for the rest. My code is:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data = sample;
	where percentile&amp;lt;=10 or percentile&amp;gt;=91;
	series x=t y=price/group=percentile curvelabel curvelabelpos=end curvelabelloc=outside;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 12 Oct 2020 06:13:43 GMT</pubDate>
    <dc:creator>somebody</dc:creator>
    <dc:date>2020-10-12T06:13:43Z</dc:date>
    <item>
      <title>PROC SGPLOT: how to use different styles based on value for timeseries line?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-SGPLOT-how-to-use-different-styles-based-on-value-for/m-p/690888#M210208</link>
      <description>&lt;P&gt;I am drawing a timeseries graph with different groups using a BY statement. These groups are percentiles and I am drawing only the top and bottom 10 percentiles. How do I tell SAS to use dash lines for the top 10 groups and solid lines for the bottom 10 groups? Currently, it is using dash line for the top 8 or 9 groups and then solid for the rest. My code is:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data = sample;
	where percentile&amp;lt;=10 or percentile&amp;gt;=91;
	series x=t y=price/group=percentile curvelabel curvelabelpos=end curvelabelloc=outside;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 06:13:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-SGPLOT-how-to-use-different-styles-based-on-value-for/m-p/690888#M210208</guid>
      <dc:creator>somebody</dc:creator>
      <dc:date>2020-10-12T06:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SGPLOT: how to use different styles based on value for timeseries line?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-SGPLOT-how-to-use-different-styles-based-on-value-for/m-p/690908#M210217</link>
      <description>&lt;P&gt;Have you seen this page?&amp;nbsp;&amp;nbsp;&lt;A href="https://support.sas.com/kb/35/864.html" target="_blank"&gt;https://support.sas.com/kb/35/864.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 08:58:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-SGPLOT-how-to-use-different-styles-based-on-value-for/m-p/690908#M210217</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-10-12T08:58:37Z</dc:date>
    </item>
  </channel>
</rss>

