<?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: Adding percentiles as references lines in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Adding-percentiles-as-references-lines/m-p/536214#M17812</link>
    <description>&lt;P&gt;Yes, it helped a lot. Thank you SO much!&lt;/P&gt;</description>
    <pubDate>Sun, 17 Feb 2019 03:55:09 GMT</pubDate>
    <dc:creator>dustychair</dc:creator>
    <dc:date>2019-02-17T03:55:09Z</dc:date>
    <item>
      <title>Adding percentiles as references lines</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Adding-percentiles-as-references-lines/m-p/536005#M17807</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there any way to add percentiles ( maybe only the first, second and third percentiles) as vertical reference lines on the density normal plot?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Fri, 15 Feb 2019 19:43:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Adding-percentiles-as-references-lines/m-p/536005#M17807</guid>
      <dc:creator>dustychair</dc:creator>
      <dc:date>2019-02-15T19:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: Adding percentiles as references lines</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Adding-percentiles-as-references-lines/m-p/536026#M17808</link>
      <description>&lt;P&gt;Here's one way to do it:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc means data=sashelp.heart P25 P50 P75;
var cholesterol;
ods output summary=pctls;
run;

data merged;
set sashelp.heart pctls;
run;

proc sgplot data=merged;
density cholesterol;
refline Cholesterol_P25 / axis=x legendlabel="25th" lineattrs=(color=blue thickness=3) name="p25";
refline Cholesterol_P50 / axis=x legendlabel="50th" lineattrs=(color=red thickness=3) name="p50";
refline Cholesterol_P75 / axis=x legendlabel="75th" lineattrs=(color=green thickness=3) name="p75";
keylegend "p25" "p50" "p75" / title="Percentiles";
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://drummer.unx.sas.com:34663/results/sastmp/SAS_workE90E0000478F_drummer/SGPlot1.png" border="0" alt="The SGPlot Procedure" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Fri, 15 Feb 2019 20:11:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Adding-percentiles-as-references-lines/m-p/536026#M17808</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2019-02-15T20:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: Adding percentiles as references lines</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Adding-percentiles-as-references-lines/m-p/536214#M17812</link>
      <description>&lt;P&gt;Yes, it helped a lot. Thank you SO much!&lt;/P&gt;</description>
      <pubDate>Sun, 17 Feb 2019 03:55:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Adding-percentiles-as-references-lines/m-p/536214#M17812</guid>
      <dc:creator>dustychair</dc:creator>
      <dc:date>2019-02-17T03:55:09Z</dc:date>
    </item>
  </channel>
</rss>

