<?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: changing mean symbol in grouped proc template boxplot in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/changing-mean-symbol-in-grouped-proc-template-boxplot/m-p/500939#M17087</link>
    <description>&lt;P&gt;Hi Dan,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will try that.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Tue, 02 Oct 2018 20:02:53 GMT</pubDate>
    <dc:creator>smitham</dc:creator>
    <dc:date>2018-10-02T20:02:53Z</dc:date>
    <item>
      <title>changing mean symbol in grouped proc template boxplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/changing-mean-symbol-in-grouped-proc-template-boxplot/m-p/500903#M17080</link>
      <description>&lt;P&gt;hi All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to communities and proc template. I could not find a way to change the mean symbol in grouped proc template boxplot. Is it possible?&lt;/P&gt;&lt;P&gt;I cannot post any data at this time. what I am trying to do is, display box plot of CTCAE grades for a particular analyte, I am grouping data by grade. I tried the following option but if I do that, then data is not grouped anymore. Different symbols are used for mean, not 'starfilled'. I am using SAS 9.4. Please help.&amp;nbsp;&lt;/P&gt;&lt;PRE class="code"&gt;proc template;
  &lt;SPAN class="codeFocus"&gt;define style Styles.Boxplot;&lt;/SPAN&gt;
  &lt;SPAN class="codeFocus"&gt;parent = styles.statistical;&lt;/SPAN&gt;
    style GraphBoxMean from GraphBoxMean /
      markersymbol=" &lt;SPAN class="codeFocus"&gt;starfilled&lt;/SPAN&gt;"
      contrastcolor=GraphColors("&lt;SPAN class="codeFocus"&gt;gcdata1&lt;/SPAN&gt;")
      markersize = 10&lt;SPAN class="codeFocus"&gt;px&lt;/SPAN&gt;;&lt;BR /&gt;end; &lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Oct 2018 19:09:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/changing-mean-symbol-in-grouped-proc-template-boxplot/m-p/500903#M17080</guid>
      <dc:creator>smitham</dc:creator>
      <dc:date>2018-10-02T19:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: changing mean symbol in grouped proc template boxplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/changing-mean-symbol-in-grouped-proc-template-boxplot/m-p/500906#M17081</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;I cannot post any data at this time.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;Make fake data or use a data set from SASHELP.CLASS instead so we can run the code please.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Is there a specific reason you're not using the standard SGPLOT code as well? With a data attribute map, that should give you control over your symbols and if you use the TMPLOUT out option with that it'll generate the GTL code for you. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;GTL can do the same thing but is usually significantly more work.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/209424"&gt;@smitham&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;hi All,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am new to communities and proc template. I could not find a way to change the mean symbol in grouped proc template boxplot. Is it possible?&lt;/P&gt;
&lt;P&gt;I cannot post any data at this time. what I am trying to do is, display box plot of CTCAE grades for a particular analyte, I am grouping data by grade. I tried the following option but if I do that, then data is not grouped anymore. Different symbols are used for mean, not 'starfilled'. I am using SAS 9.4. Please help.&amp;nbsp;&lt;/P&gt;
&lt;PRE class="code"&gt;proc template;
  &lt;SPAN class="codeFocus"&gt;define style Styles.Boxplot;&lt;/SPAN&gt;
  &lt;SPAN class="codeFocus"&gt;parent = styles.statistical;&lt;/SPAN&gt;
    style GraphBoxMean from GraphBoxMean /
      markersymbol=" &lt;SPAN class="codeFocus"&gt;starfilled&lt;/SPAN&gt;"
      contrastcolor=GraphColors("&lt;SPAN class="codeFocus"&gt;gcdata1&lt;/SPAN&gt;")
      markersize = 10&lt;SPAN class="codeFocus"&gt;px&lt;/SPAN&gt;;&lt;BR /&gt;end; &lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Oct 2018 19:12:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/changing-mean-symbol-in-grouped-proc-template-boxplot/m-p/500906#M17081</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-10-02T19:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: changing mean symbol in grouped proc template boxplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/changing-mean-symbol-in-grouped-proc-template-boxplot/m-p/500915#M17082</link>
      <description>&lt;P&gt;Hi, thank yo so much for quick response.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using sgplot for concentration value boxplot but I am not able to control where I place footnotes (inside, outside the grapharea). I had switch to proc template for footnotes. I will try and generate dummy data.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Oct 2018 19:32:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/changing-mean-symbol-in-grouped-proc-template-boxplot/m-p/500915#M17082</guid>
      <dc:creator>smitham</dc:creator>
      <dc:date>2018-10-02T19:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: changing mean symbol in grouped proc template boxplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/changing-mean-symbol-in-grouped-proc-template-boxplot/m-p/500919#M17083</link>
      <description>&lt;P&gt;You can use STYLEATTRS statement to change your symbols.&amp;nbsp; Also you can use INSET statement to place notes inside the plot.&lt;/P&gt;
&lt;P&gt;To see different markers, you have to use a style with (or change to) ATTRPRIORITY=none.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods graphics / attrpriority=none;&lt;BR /&gt;proc sgplot data=sashelp.cars;&lt;BR /&gt; styleattrs datasymbols=(circlefilled trianglefilled squarefilled);&lt;BR /&gt; vbox mpg_city / group=origin;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Oct 2018 19:39:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/changing-mean-symbol-in-grouped-proc-template-boxplot/m-p/500919#M17083</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2018-10-02T19:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: changing mean symbol in grouped proc template boxplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/changing-mean-symbol-in-grouped-proc-template-boxplot/m-p/500929#M17084</link>
      <description>&lt;P&gt;If you want to stick with SGPLOT, consider using the INSET statement to position notes inside the graph area and the FOOTNOTE statement to move them around the outside.&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, 02 Oct 2018 19:48:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/changing-mean-symbol-in-grouped-proc-template-boxplot/m-p/500929#M17084</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2018-10-02T19:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: changing mean symbol in grouped proc template boxplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/changing-mean-symbol-in-grouped-proc-template-boxplot/m-p/500930#M17085</link>
      <description>&lt;P&gt;Hi Sanjay, Dan&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;I am able to change mean value symbol&amp;nbsp;using&amp;nbsp;meanattrs=(symbol=starfilled color=black size=10px). Not sure if I could post my question here.. but is there a way display footnotes when using proc sgplot outside of the plotarea [Here are my options:]&lt;/P&gt;&lt;P&gt;ods graphics on / reset=index imagename='sgplot1'&lt;BR /&gt;width=7.25in height=6.25in;&lt;/P&gt;&lt;P&gt;output to ODS PDF.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For some reason, the footnotes are displayed only inside of the plot border. Not able to display anything outside.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Oct 2018 19:51:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/changing-mean-symbol-in-grouped-proc-template-boxplot/m-p/500930#M17085</guid>
      <dc:creator>smitham</dc:creator>
      <dc:date>2018-10-02T19:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: changing mean symbol in grouped proc template boxplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/changing-mean-symbol-in-grouped-proc-template-boxplot/m-p/500933#M17086</link>
      <description>&lt;P&gt;Try using NOGFOOTNOTE on the ODS PDF statement. This will prevent the footnotes from&amp;nbsp; being added to the plot, but I think they might get moved to the bottom of the page. Your best option to insert text right after a graph would be to use the ODS TEXT statement. Give that a try and see if that works for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;BR /&gt;Dan&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Oct 2018 19:56:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/changing-mean-symbol-in-grouped-proc-template-boxplot/m-p/500933#M17086</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2018-10-02T19:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: changing mean symbol in grouped proc template boxplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/changing-mean-symbol-in-grouped-proc-template-boxplot/m-p/500939#M17087</link>
      <description>&lt;P&gt;Hi Dan,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will try that.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 02 Oct 2018 20:02:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/changing-mean-symbol-in-grouped-proc-template-boxplot/m-p/500939#M17087</guid>
      <dc:creator>smitham</dc:creator>
      <dc:date>2018-10-02T20:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: changing mean symbol in grouped proc template boxplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/changing-mean-symbol-in-grouped-proc-template-boxplot/m-p/507544#M17284</link>
      <description>&lt;P&gt;Hi Sanjay,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was finally able to use this for another plot.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Oct 2018 18:32:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/changing-mean-symbol-in-grouped-proc-template-boxplot/m-p/507544#M17284</guid>
      <dc:creator>smitham</dc:creator>
      <dc:date>2018-10-25T18:32:50Z</dc:date>
    </item>
  </channel>
</rss>

