<?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: Question about a proc template in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Question-about-a-proc-template/m-p/692142#M210784</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/149491"&gt;@ykoba&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SGRender (62).png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/50721iC269C2311A2F9DD3/image-size/large?v=v2&amp;amp;px=999" role="button" title="SGRender (62).png" alt="SGRender (62).png" /&gt;&lt;/span&gt;I am writing the following code and get the attached result.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc template;
define statgraph regress;
begingraph;
entrytitle 'Ngal';
layout overlay;
barchart x=group y=ngal/stat=mean group=group display=(fillpattern fill outline)
grouporder=data;
scatterplot x=group y=ngal /group=group
yerrorlower=lower_ngal yerrorupper=upper_ngal
markerattrs=(size=10)
errorbarattrs=(thickness=3 pattern=dot color=black);
endlayout;
endgraph;
end;


define style styles.mypatterns;
parent=styles.listing;
style GraphData1 from GraphData1 /
fillpattern = "e1"
color=white
contrastcolor=white
markersymbol='circle';
style GraphData2 from GraphData2 /
fillpattern = "R1"
color=white
contrastcolor=black
markersymbol='circle';
style GraphData3 from GraphData3 /
fillpattern = "e1"
color=black
contrastcolor=black
markersymbol='circle';
style GraphData4 from GraphData4 /
fillpattern = "L1"
color=white
contrastcolor=black
markersymbol='circle';
end;
run;

ods html style=mypatterns;
ods graphics / reset border width=600px height=400px;

proc sgrender data=work.data template=regress;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to delete the dot lines along with error bars. I have been spending more than a few weeks with this. Actually, I don't understand why this code draws the dot lines beyond the error bar range.&lt;/P&gt;
&lt;P&gt;Any suggestions or advice will be welcomed.&lt;/P&gt;
&lt;P&gt;Thank you in advance for your help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I am not clear what you actually mean by "delete the dot lines along with the error bars".&lt;/P&gt;
&lt;P&gt;Just the dots or the entire bar???&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to indicate the upper and lower values that are stored in your lower_ngal and upper_ngal variables but not as error bars then you could overlay two more scatter plots with the x=group and y=lower_ngal picking a different sort of marker. Or maybe a highlow plot if want just to connect the the lower an upper values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Oct 2020 15:01:30 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2020-10-16T15:01:30Z</dc:date>
    <item>
      <title>Question about a proc template</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Question-about-a-proc-template/m-p/692002#M210715</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SGRender (62).png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/50721iC269C2311A2F9DD3/image-size/large?v=v2&amp;amp;px=999" role="button" title="SGRender (62).png" alt="SGRender (62).png" /&gt;&lt;/span&gt;I am writing the following code and get the attached result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc template;
define statgraph regress;
begingraph;
entrytitle 'Ngal';
layout overlay;
barchart x=group y=ngal/stat=mean group=group display=(fillpattern fill outline)
grouporder=data;
scatterplot x=group y=ngal /group=group
yerrorlower=lower_ngal yerrorupper=upper_ngal
markerattrs=(size=10)
errorbarattrs=(thickness=3 pattern=dot color=black);
endlayout;
endgraph;
end;


define style styles.mypatterns;
parent=styles.listing;
style GraphData1 from GraphData1 /
fillpattern = "e1"
color=white
contrastcolor=white
markersymbol='circle';
style GraphData2 from GraphData2 /
fillpattern = "R1"
color=white
contrastcolor=black
markersymbol='circle';
style GraphData3 from GraphData3 /
fillpattern = "e1"
color=black
contrastcolor=black
markersymbol='circle';
style GraphData4 from GraphData4 /
fillpattern = "L1"
color=white
contrastcolor=black
markersymbol='circle';
end;
run;

ods html style=mypatterns;
ods graphics / reset border width=600px height=400px;

proc sgrender data=work.data template=regress;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to delete the dot lines along with error bars. I have been spending more than a few weeks with this. Actually, I don't understand why this code draws the dot lines beyond the error bar range.&lt;/P&gt;&lt;P&gt;Any suggestions or advice will be welcomed.&lt;/P&gt;&lt;P&gt;Thank you in advance for your help.&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;</description>
      <pubDate>Fri, 16 Oct 2020 02:51:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Question-about-a-proc-template/m-p/692002#M210715</guid>
      <dc:creator>ykoba</dc:creator>
      <dc:date>2020-10-16T02:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Question about a proc template</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Question-about-a-proc-template/m-p/692027#M210720</link>
      <description>&lt;P&gt;1. Provide some test data so we can reproduce&lt;/P&gt;
&lt;P&gt;2. Format your text by using the appropriate icons to paste the code ( &amp;lt;/&amp;gt; for log, running man for code)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. Use the image icon to add images, not a file attachment.&lt;/P&gt;
&lt;P&gt;Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2020 01:26:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Question-about-a-proc-template/m-p/692027#M210720</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-10-16T01:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: Question about a proc template</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Question-about-a-proc-template/m-p/692142#M210784</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/149491"&gt;@ykoba&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SGRender (62).png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/50721iC269C2311A2F9DD3/image-size/large?v=v2&amp;amp;px=999" role="button" title="SGRender (62).png" alt="SGRender (62).png" /&gt;&lt;/span&gt;I am writing the following code and get the attached result.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc template;
define statgraph regress;
begingraph;
entrytitle 'Ngal';
layout overlay;
barchart x=group y=ngal/stat=mean group=group display=(fillpattern fill outline)
grouporder=data;
scatterplot x=group y=ngal /group=group
yerrorlower=lower_ngal yerrorupper=upper_ngal
markerattrs=(size=10)
errorbarattrs=(thickness=3 pattern=dot color=black);
endlayout;
endgraph;
end;


define style styles.mypatterns;
parent=styles.listing;
style GraphData1 from GraphData1 /
fillpattern = "e1"
color=white
contrastcolor=white
markersymbol='circle';
style GraphData2 from GraphData2 /
fillpattern = "R1"
color=white
contrastcolor=black
markersymbol='circle';
style GraphData3 from GraphData3 /
fillpattern = "e1"
color=black
contrastcolor=black
markersymbol='circle';
style GraphData4 from GraphData4 /
fillpattern = "L1"
color=white
contrastcolor=black
markersymbol='circle';
end;
run;

ods html style=mypatterns;
ods graphics / reset border width=600px height=400px;

proc sgrender data=work.data template=regress;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to delete the dot lines along with error bars. I have been spending more than a few weeks with this. Actually, I don't understand why this code draws the dot lines beyond the error bar range.&lt;/P&gt;
&lt;P&gt;Any suggestions or advice will be welcomed.&lt;/P&gt;
&lt;P&gt;Thank you in advance for your help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I am not clear what you actually mean by "delete the dot lines along with the error bars".&lt;/P&gt;
&lt;P&gt;Just the dots or the entire bar???&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to indicate the upper and lower values that are stored in your lower_ngal and upper_ngal variables but not as error bars then you could overlay two more scatter plots with the x=group and y=lower_ngal picking a different sort of marker. Or maybe a highlow plot if want just to connect the the lower an upper values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2020 15:01:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Question-about-a-proc-template/m-p/692142#M210784</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-10-16T15:01:30Z</dc:date>
    </item>
  </channel>
</rss>

