<?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 Errorbarattrs for groups in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Errorbarattrs-for-groups/m-p/26001#M756</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried using a data attribute map?&amp;nbsp; This will allow you to change the color of the lines based on the value of the grouping variable.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/grstatproc/64778/HTML/default/viewer.htm#n18szqcwir8q2nn10od9hhdh2ksj.htm"&gt;http://support.sas.com/documentation/cdl/en/grstatproc/64778/HTML/default/viewer.htm#n18szqcwir8q2nn10od9hhdh2ksj.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;john&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Mar 2012 13:25:13 GMT</pubDate>
    <dc:creator>jcbell</dc:creator>
    <dc:date>2012-03-09T13:25:13Z</dc:date>
    <item>
      <title>Errorbarattrs for groups</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Errorbarattrs-for-groups/m-p/26000#M755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I feel I have spent enough time trying to figure this out with my limited coding knowledge that it is time to come to the experts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am producing a graph using the following codeing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sgplot data=end;&lt;/P&gt;&lt;P&gt;scatter y=Nmean x=Cmean/ group=spp &lt;/P&gt;&lt;P&gt;yERRORLOWER=Nlow yERRORUPPER=NHigh &lt;/P&gt;&lt;P&gt;xERRORLOWER=CLow xERRORUPPER=CHigh &lt;/P&gt;&lt;P&gt;DATALABEL=site;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works all fine and dandy for a presentation, however for publication things will be in black and white.&amp;nbsp; I would like to know how to make the error bars for one group dashed while keeping the other solid.&amp;nbsp; This is done in 9.2 if you decide to try changing styles/templates (something i've been playing with to no avail).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help on this, I know its probably easier than most issues here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2012 21:29:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Errorbarattrs-for-groups/m-p/26000#M755</guid>
      <dc:creator>ahappel</dc:creator>
      <dc:date>2012-03-08T21:29:01Z</dc:date>
    </item>
    <item>
      <title>Errorbarattrs for groups</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Errorbarattrs-for-groups/m-p/26001#M756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried using a data attribute map?&amp;nbsp; This will allow you to change the color of the lines based on the value of the grouping variable.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/grstatproc/64778/HTML/default/viewer.htm#n18szqcwir8q2nn10od9hhdh2ksj.htm"&gt;http://support.sas.com/documentation/cdl/en/grstatproc/64778/HTML/default/viewer.htm#n18szqcwir8q2nn10od9hhdh2ksj.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;john&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2012 13:25:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Errorbarattrs-for-groups/m-p/26001#M756</guid>
      <dc:creator>jcbell</dc:creator>
      <dc:date>2012-03-09T13:25:13Z</dc:date>
    </item>
    <item>
      <title>Errorbarattrs for groups</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Errorbarattrs-for-groups/m-p/26002#M757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For somereason I cant get the program to recognize attribute mapping the way that shows me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The closest I have come to what I desire is using this:&lt;/P&gt;&lt;P&gt;proc template ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; define statgraph group;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; begingraph;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; entrytitle "N vs C";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layout overlay;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; scatterplot x=Cmean y=Nmean&amp;nbsp; / group=spp yERRORLOWER=Nlow yERRORUPPER=NHigh &lt;/P&gt;&lt;P&gt;xERRORLOWER=CLow xERRORUPPER=CHigh&lt;/P&gt;&lt;P&gt;errorbarattrs=graphdata1(pattern=dot)&lt;/P&gt;&lt;P&gt;errorbarattrs=graphdata2(pattern=Solid)&lt;/P&gt;&lt;P&gt;errorbarattrs=graphdata3(pattern=Dash)&lt;/P&gt;&lt;P&gt;DATALABEL=site;; &lt;/P&gt;&lt;P&gt;Discretelegend "spp";&lt;/P&gt;&lt;P&gt;endlayout;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; endgraph;&lt;/P&gt;&lt;P&gt;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;proc template;&lt;/P&gt;&lt;P&gt;&amp;nbsp; define style biplots; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; parent=styles.journal;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; style GraphData1 /&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ContrastColor=red &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MarkerSymbol="CircleFilled";&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; style GraphData2 /&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ContrastColor=blue &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MarkerSymbol="TriangleFilled";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; style GraphData3 /&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ContrastColor=green &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MarkerSymbol="SquareFilled";&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;ods listing style=biplots;&lt;/P&gt;&lt;P&gt;proc sgrender data=end&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; template=group;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Problem is that the errorbarattrs override each other and I cant figure out how to get it to acknowledge all of them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2012 18:03:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Errorbarattrs-for-groups/m-p/26002#M757</guid>
      <dc:creator>ahappel</dc:creator>
      <dc:date>2012-03-09T18:03:55Z</dc:date>
    </item>
  </channel>
</rss>

