<?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: proc sgplot in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot/m-p/456895#M15705</link>
    <description>&lt;P&gt;Sorry. Thought you only wanted an example of the data. There are 10.000+ observations so it is not convenient to list all here. I copied the first 100 observations below. Also, just to make sure we are talking about the same thing. My question is how to get rid of the extra lines that SAS adds to the graph (see picture in my original post). I want 2 lines corresponding to the spline estimates&amp;nbsp;(solid lines) for each sex with upper and lower 95% clm (dashed lines).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; WORK.DATA;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;infile&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; datalines &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;dsd&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;truncover&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;input&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; age:&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;32.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; female:&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;32.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; p:&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;32.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; lower:&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;32.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; upper:&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;32.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;datalines4&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;29,0,0.3178219885,0.31102658,0.3246173969&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;32,0,0.3190284679,0.3132385942,0.3248183416&lt;/P&gt;&lt;P&gt;32,0,0.3190284679,0.3132385942,0.3248183416&lt;/P&gt;&lt;P&gt;38,0,0.3214412539,0.3175171465,0.3253653613&lt;/P&gt;&lt;P&gt;32,0,0.3190284679,0.3132385942,0.3248183416&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;31,0,0.3186263081,0.3125046405,0.3247479757&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;33,0,0.3194306277,0.3139683391,0.3248929164&lt;/P&gt;&lt;P&gt;26,0,0.3166155091,0.3087906933,0.3244403248&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;38,0,0.3214412539,0.3175171465,0.3253653613&lt;/P&gt;&lt;P&gt;39,0,0.3218389179,0.3181901864,0.3254876493&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;22,0,0.3150068698,0.3057862116,0.324227528&lt;/P&gt;&lt;P&gt;33,0,0.3194306277,0.3139683391,0.3248929164&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;31,0,0.3186263081,0.3125046405,0.3247479757&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;39,0,0.3218389179,0.3181901864,0.3254876493&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;38,0,0.3214412539,0.3175171465,0.3253653613&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;27,0,0.3170176689,0.3095380376,0.3244973001&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;39,0,0.3218389179,0.3181901864,0.3254876493&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;27,0,0.3170176689,0.3095380376,0.3244973001&lt;/P&gt;&lt;P&gt;23,0,0.3154090296,0.3065392419,0.3242788174&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;;;;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 24 Apr 2018 14:45:23 GMT</pubDate>
    <dc:creator>greveam</dc:creator>
    <dc:date>2018-04-24T14:45:23Z</dc:date>
    <item>
      <title>proc sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot/m-p/456835#M15699</link>
      <description>&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;I want to make a graph depicting the association of age with variable Y for males and females using a spline function (see code below). However, when I try to use SGPLOT to make the graph with dashed 95% clm SAS adds lines to the graph that I did not request (see Figure below). Does anyone know how to suppress these extra lines so that only the spline curve with 95% clm is visible?&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Anders&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;orthoreg&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=data&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;class&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; female;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;effect&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; spl=spline(age / naturalcubic &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;details&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;model&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&amp;nbsp;y = spl|female / &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;noint&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;effectplot&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; / &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;noobs&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;clm&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;test&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; spl|female;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;store&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; spline;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;plm&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; source=spline;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;score data=data out=pred predicted=p lclm=lower uclm=upper;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;sgplot&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=pred &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;NOAUTOLEGEND&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;Noborder&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;series&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;y&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=p &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;x&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=age / &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;group&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=female &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;LINEATTRS&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=(&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;THICKNESS&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;name&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;"Female"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;series&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;y&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=lower &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;x&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=age / &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;group&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=female &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;LINEATTRS&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=(&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;pattern&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=shortdash &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;color&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=Black &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;THICKNESS&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;series&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;y&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=upper &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;x&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=age / &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;group&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=female &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;LINEATTRS&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=(&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;pattern&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=shortdash &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;color&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=Black &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;THICKNESS&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;keylegend&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;"Female"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; / &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;title&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;"Female"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;yaxis&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;Label&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;"Y"&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;Type&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=Linear &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;LABELATTRS&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=(&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;weight&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=BOLD &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;style&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=normal &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;size&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;11&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;xaxis&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;Label&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;"Age"&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;LABELATTRS&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=(&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;weight&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=BOLD &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;style&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=normal &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;size&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;11&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SGPlot.jpg" style="width: 598px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/20074i2C7C44F0F098DE05/image-size/large?v=v2&amp;amp;px=999" role="button" title="SGPlot.jpg" alt="SGPlot.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2018 12:13:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot/m-p/456835#M15699</guid>
      <dc:creator>greveam</dc:creator>
      <dc:date>2018-04-24T12:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot/m-p/456845#M15701</link>
      <description>&lt;P&gt;Post some example data from the dataset created by:&lt;/P&gt;
&lt;PRE&gt;proc plm source=spline;
  score data=data out=pred predicted=p lclm=lower uclm=upper;
run;&lt;/PRE&gt;
&lt;P&gt;You can use this post to help:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i suspect the group= part.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2018 12:48:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot/m-p/456845#M15701</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-04-24T12:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot/m-p/456851#M15703</link>
      <description>&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; WORK.TTR_PRED;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;infile&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; datalines &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;dsd&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;truncover&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;input&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; female:&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;32.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; p:&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;32.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; lower:&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;32.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; upper:&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;32.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; age_years:&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;32.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;datalines4&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;0,0.3222241319,0.3188327688,0.325615495,40&lt;/P&gt;&lt;P&gt;0,0.322588596,0.3194323886,0.3257448035,41&lt;/P&gt;&lt;P&gt;0,0.3222241319,0.3188327688,0.325615495,40&lt;/P&gt;&lt;P&gt;0,0.322588596,0.3194323886,0.3257448035,41&lt;/P&gt;&lt;P&gt;0,0.322588596,0.3194323886,0.3257448035,41&lt;/P&gt;&lt;P&gt;;;;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2018 13:13:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot/m-p/456851#M15703</guid>
      <dc:creator>greveam</dc:creator>
      <dc:date>2018-04-24T13:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot/m-p/456867#M15704</link>
      <description>&lt;P&gt;That doesn't help as it only shows a tiny fraction.&amp;nbsp; The legend is showing female variable as being either 0 or 1, hence why two sets of lines are present.&amp;nbsp; The test data presented only has 0 presented.&amp;nbsp; Also the X axis goes up to 80 or more, so this isn;t the complete data.&amp;nbsp; If you only want one set of lines, then drop female=1 or female=0 so you only have one group of data.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2018 13:57:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot/m-p/456867#M15704</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-04-24T13:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot/m-p/456895#M15705</link>
      <description>&lt;P&gt;Sorry. Thought you only wanted an example of the data. There are 10.000+ observations so it is not convenient to list all here. I copied the first 100 observations below. Also, just to make sure we are talking about the same thing. My question is how to get rid of the extra lines that SAS adds to the graph (see picture in my original post). I want 2 lines corresponding to the spline estimates&amp;nbsp;(solid lines) for each sex with upper and lower 95% clm (dashed lines).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; WORK.DATA;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;infile&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; datalines &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;dsd&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;truncover&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;input&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; age:&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;32.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; female:&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;32.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; p:&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;32.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; lower:&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;32.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; upper:&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;32.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;datalines4&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;29,0,0.3178219885,0.31102658,0.3246173969&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;32,0,0.3190284679,0.3132385942,0.3248183416&lt;/P&gt;&lt;P&gt;32,0,0.3190284679,0.3132385942,0.3248183416&lt;/P&gt;&lt;P&gt;38,0,0.3214412539,0.3175171465,0.3253653613&lt;/P&gt;&lt;P&gt;32,0,0.3190284679,0.3132385942,0.3248183416&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;31,0,0.3186263081,0.3125046405,0.3247479757&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;33,0,0.3194306277,0.3139683391,0.3248929164&lt;/P&gt;&lt;P&gt;26,0,0.3166155091,0.3087906933,0.3244403248&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;38,0,0.3214412539,0.3175171465,0.3253653613&lt;/P&gt;&lt;P&gt;39,0,0.3218389179,0.3181901864,0.3254876493&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;22,0,0.3150068698,0.3057862116,0.324227528&lt;/P&gt;&lt;P&gt;33,0,0.3194306277,0.3139683391,0.3248929164&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;31,0,0.3186263081,0.3125046405,0.3247479757&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;39,0,0.3218389179,0.3181901864,0.3254876493&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;38,0,0.3214412539,0.3175171465,0.3253653613&lt;/P&gt;&lt;P&gt;40,0,0.3222241319,0.3188327688,0.325615495&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;27,0,0.3170176689,0.3095380376,0.3244973001&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;39,0,0.3218389179,0.3181901864,0.3254876493&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;27,0,0.3170176689,0.3095380376,0.3244973001&lt;/P&gt;&lt;P&gt;23,0,0.3154090296,0.3065392419,0.3242788174&lt;/P&gt;&lt;P&gt;41,0,0.322588596,0.3194323886,0.3257448035&lt;/P&gt;&lt;P&gt;;;;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2018 14:45:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot/m-p/456895#M15705</guid>
      <dc:creator>greveam</dc:creator>
      <dc:date>2018-04-24T14:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot/m-p/456901#M15707</link>
      <description>&lt;P&gt;"&lt;SPAN&gt;My question is how to get rid of the extra lines that SAS adds to the graph (see picture in my original post)." - no sorry, not clear to me.&amp;nbsp; The graph is plotting all 10,000 lines based on a grouping a female variable.&amp;nbsp; As there is very little difference between each result its very hard to see any difference, but it is like ploting row 1, then row 2 etc.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Perhaps you mean to summarise the data before you plot?&amp;nbsp; Maybe it should be the mean p, lower, upper grouped by female and age, then plot the output of that:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc means data=have;
  by female age;
  var p lower upper;
  output out=want autolabel;
run;

proc sgplot data=want noautolegend noborder;
  series y=p_mean x=age / group=female lineattrs=(thickness=1) name="Female";
  series y=lower_mean x=age / group=female lineattrs=(pattern=shortdash color=Black thickness=1);
  series y=upper_mean x=age / group=female lineattrs=(pattern=shortdash color=Black thickness=1);
  keylegend "Female" / title="Female";
  yaxis Label="Y" Type=Linear labelattrs=(weight=boldstyle=normal size=11);
  xaxis Label="Age" labelattrs=(weight=bold style=normal size=11);
run;&lt;/PRE&gt;
&lt;P&gt;This should create a dataset want with a row for each age within each female, so just a few rows.&amp;nbsp; This then gets plotted.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2018 14:59:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot/m-p/456901#M15707</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-04-24T14:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot/m-p/456921#M15708</link>
      <description>&lt;P&gt;No that is not the problem. I searched the web some more and found that the problem is that proc sgplot requires the data to be sorted by female and age before plotting. Thanks anyway.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2018 15:26:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot/m-p/456921#M15708</guid>
      <dc:creator>greveam</dc:creator>
      <dc:date>2018-04-24T15:26:26Z</dc:date>
    </item>
  </channel>
</rss>

