<?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: Modifying template to obtain in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Modifying-template-to-obtain/m-p/543716#M17915</link>
    <description>&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Thank you very much. It works perfectly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Next step: Using the proposed solution, I am going to mixed filled and cleared symbols in the same graphic using GTL.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Wish me luck&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Santos&lt;/P&gt;</description>
    <pubDate>Sat, 16 Mar 2019 09:57:17 GMT</pubDate>
    <dc:creator>SantosCarvajal</dc:creator>
    <dc:date>2019-03-16T09:57:17Z</dc:date>
    <item>
      <title>Modifying template to obtain</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Modifying-template-to-obtain/m-p/542541#M17895</link>
      <description>&lt;P&gt;Dear community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I am trying to obtain Figure 1 (see attached document). However when I am using proc template Figure 2 is produced.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Please find below the code that I am using:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;data means;&lt;BR /&gt;&amp;nbsp;set means;&lt;BR /&gt;&amp;nbsp;label mean = "Mean +/- SEM";&lt;BR /&gt;&amp;nbsp;elower = mean - stderr;&lt;BR /&gt;&amp;nbsp;eupper = mean + stderr;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc template;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;define statgraph mygraphs.meanover;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; begingraph;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; entrytitle "Mean Measurement Over Time" ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; discreteattrmap name='filling' / ignorecase=true;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value 'A'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; / markerattrs=(symbol=square color = black size = 12);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; enddiscreteattrmap;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; discreteattrvar attrvar=classmrk var=armcd attrmap='filling';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&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; scatterplot x = rep y = mean / group = classmrk name = "treat" yerrorlower = elower yerrorupper = eupper;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endlayout;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;endgraph;&lt;BR /&gt;&amp;nbsp;end;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc sgrender data=means template=mygraphs.meanover;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I tried to modify the color of the square&amp;nbsp;BUT I did not find the way of filling the square with a color&amp;nbsp;in order to be overlaid&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; on top of the mean and SEM bars.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Thank you in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Santos&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 18:40:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Modifying-template-to-obtain/m-p/542541#M17895</guid>
      <dc:creator>SantosCarvajal</dc:creator>
      <dc:date>2019-03-12T18:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying template to obtain</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Modifying-template-to-obtain/m-p/542546#M17896</link>
      <description>&lt;P&gt;Use the FILLEDOUTLINEDMARKERS=TRUE option on the SCATTERPLOT statement. You must use this option with a filled marker. You can then control the fill and outline independently. In your case, you have a grouped scatter where you just want to "fill the hole" with the wall color. Use the following options on the SCATTERPLOT statement.&lt;/P&gt;
&lt;H3&gt;&amp;nbsp;&lt;/H3&gt;
&lt;P&gt;filledoutlineedmarkers=true markerfillattrs=(color=GraphWalls:color)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and change the "square" to "squarefilled" in your attrmap.&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>Tue, 12 Mar 2019 19:03:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Modifying-template-to-obtain/m-p/542546#M17896</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2019-03-12T19:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying template to obtain</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Modifying-template-to-obtain/m-p/543716#M17915</link>
      <description>&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Thank you very much. It works perfectly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Next step: Using the proposed solution, I am going to mixed filled and cleared symbols in the same graphic using GTL.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Wish me luck&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Santos&lt;/P&gt;</description>
      <pubDate>Sat, 16 Mar 2019 09:57:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Modifying-template-to-obtain/m-p/543716#M17915</guid>
      <dc:creator>SantosCarvajal</dc:creator>
      <dc:date>2019-03-16T09:57:17Z</dc:date>
    </item>
  </channel>
</rss>

