<?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 Plotting Confidence Bands by Group in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Plotting-Confidence-Bands-by-Group/m-p/501445#M17103</link>
    <description>&lt;P&gt;Hi group,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm having trouble with some of the style attributes in SGPLOT. I am trying to customize a regression plot with 2 groups, that includes confidence bands/ limits. I have been able to get the figure very close to how I'd like it, however, one of my regression lines is missing a confidence band (that was there when I had all the default options).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods html style=Journal;
proc sgplot data=Haley_July;
styleattrs datacontrastcolors=(black grey)
             datasymbols=(circle triangle)
             datalinepatterns=(solid);
reg y=r4 x=yolk_mom/group=season CLM CLI;
xaxis label= 'Maternal Yolk Allocation';
yaxis label= 'Yolk Conversion Efficiency';&lt;BR /&gt;run;quit&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="branch"&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SGPlot6.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/23767iBFFDCD81E83C8BF1/image-size/large?v=v2&amp;amp;px=999" role="button" title="SGPlot6.png" alt="SGPlot6.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 04 Oct 2018 12:34:59 GMT</pubDate>
    <dc:creator>AW_Carter</dc:creator>
    <dc:date>2018-10-04T12:34:59Z</dc:date>
    <item>
      <title>Plotting Confidence Bands by Group</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Plotting-Confidence-Bands-by-Group/m-p/501445#M17103</link>
      <description>&lt;P&gt;Hi group,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm having trouble with some of the style attributes in SGPLOT. I am trying to customize a regression plot with 2 groups, that includes confidence bands/ limits. I have been able to get the figure very close to how I'd like it, however, one of my regression lines is missing a confidence band (that was there when I had all the default options).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods html style=Journal;
proc sgplot data=Haley_July;
styleattrs datacontrastcolors=(black grey)
             datasymbols=(circle triangle)
             datalinepatterns=(solid);
reg y=r4 x=yolk_mom/group=season CLM CLI;
xaxis label= 'Maternal Yolk Allocation';
yaxis label= 'Yolk Conversion Efficiency';&lt;BR /&gt;run;quit&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="branch"&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SGPlot6.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/23767iBFFDCD81E83C8BF1/image-size/large?v=v2&amp;amp;px=999" role="button" title="SGPlot6.png" alt="SGPlot6.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 04 Oct 2018 12:34:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Plotting-Confidence-Bands-by-Group/m-p/501445#M17103</guid>
      <dc:creator>AW_Carter</dc:creator>
      <dc:date>2018-10-04T12:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: Plotting Confidence Bands by Group</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Plotting-Confidence-Bands-by-Group/m-p/501483#M17104</link>
      <description>&lt;P&gt;I don't&amp;nbsp;think there is anything intrinsically wrong with your plot statement. Run the following and see if you can see both CLM regions:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods html style=Journal;
proc sgplot data=sashelp.class;
styleattrs datacontrastcolors=(black grey)
             datasymbols=(circle triangle)
             datalinepatterns=(solid);
reg y=weight x=height/group=sex CLM CLI;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;One thing to be aware of, when you&amp;nbsp;set the line color to grey, it might not show up against the CLM. You might want to use&lt;/P&gt;
&lt;P&gt;datacontrastcolors=(grey lightgrey)&lt;/P&gt;
&lt;P&gt;or some similar choice.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe the missing CLM is white? To help "find" the missing CLM, try (temporarily) adding&amp;nbsp;&lt;/P&gt;
&lt;P&gt;wallcolor=lightpink&lt;/P&gt;
&lt;P&gt;to the STYLEATTRS statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Oct 2018 13:48:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Plotting-Confidence-Bands-by-Group/m-p/501483#M17104</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2018-10-04T13:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: Plotting Confidence Bands by Group</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Plotting-Confidence-Bands-by-Group/m-p/501497#M17105</link>
      <description>AH! The second confidence band is white!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;... I'm not actually sure how to change the confidence band color from white. Suggestions?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you!&lt;BR /&gt;&lt;BR /&gt;-Amanda&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Oct 2018 14:16:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Plotting-Confidence-Bands-by-Group/m-p/501497#M17105</guid>
      <dc:creator>AW_Carter</dc:creator>
      <dc:date>2018-10-04T14:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: Plotting Confidence Bands by Group</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Plotting-Confidence-Bands-by-Group/m-p/501503#M17106</link>
      <description>&lt;P&gt;Did you edit the journal style?&lt;/P&gt;
&lt;P&gt;Use&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc template;&lt;BR /&gt;list styles.journal;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;to determine if you are running the "official" style in SASHELP.TMPLMST or whether you are running a private copy.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are also the Journal1a, Journal2, Journal2a, Journal3, and Journal3a styles.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm going to move this to the Graphics Community where more style experts can weigh in.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Oct 2018 14:24:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Plotting-Confidence-Bands-by-Group/m-p/501503#M17106</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2018-10-04T14:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: Plotting Confidence Bands by Group</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Plotting-Confidence-Bands-by-Group/m-p/501504#M17107</link>
      <description>Thank you!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;It looks like I edited the style.journal by accident-- can I restore the default sytle.journal?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Best,&lt;BR /&gt;&lt;BR /&gt;Amanda&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Oct 2018 14:31:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Plotting-Confidence-Bands-by-Group/m-p/501504#M17107</guid>
      <dc:creator>AW_Carter</dc:creator>
      <dc:date>2018-10-04T14:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: Plotting Confidence Bands by Group</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Plotting-Confidence-Bands-by-Group/m-p/501819#M17120</link>
      <description>&lt;P&gt;You could try other style like HTMLBLUE.and change color of clm .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods html style=&lt;STRONG&gt;htmlblue&lt;/STRONG&gt;;&lt;BR /&gt;proc sgplot data=sashelp.class;&lt;BR /&gt;styleattrs datacontrastcolors=(black grey)&lt;BR /&gt; datasymbols=(circle triangle)&lt;BR /&gt; datalinepatterns=(solid);&lt;BR /&gt;reg y=weight x=height/group=sex CLM CLI &lt;STRONG&gt;clmattrs=(color=blue)&lt;/STRONG&gt;;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Oct 2018 10:53:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Plotting-Confidence-Bands-by-Group/m-p/501819#M17120</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2018-10-05T10:53:09Z</dc:date>
    </item>
  </channel>
</rss>

