<?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: ODS Graphics Designer Code - results not the same run in SAS Studio in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/ODS-Graphics-Designer-Code-results-not-the-same-run-in-SAS/m-p/591201#M18909</link>
    <description>Hi:&lt;BR /&gt;  Nobody can test or run your template without some sample data.&lt;BR /&gt;Cynthia</description>
    <pubDate>Tue, 24 Sep 2019 15:45:07 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2019-09-24T15:45:07Z</dc:date>
    <item>
      <title>ODS Graphics Designer Code - results not the same run in SAS Studio</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ODS-Graphics-Designer-Code-results-not-the-same-run-in-SAS/m-p/591184#M18906</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Created a scatterplot graph in ODS Graphics designer where each group by category uses a different symbol.&amp;nbsp; The graph works great in Graphics Designer and generates the template code.&amp;nbsp; When I copy the template and run it in SAS Studio, I get the correct graph, but all the symbols are now the same (all circles).&amp;nbsp; So far I have not found reference as to why or how to change it in SAS Studio to run correctly.&amp;nbsp; Any suggestions?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Fred&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2019 15:06:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ODS-Graphics-Designer-Code-results-not-the-same-run-in-SAS/m-p/591184#M18906</guid>
      <dc:creator>FredGIII</dc:creator>
      <dc:date>2019-09-24T15:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Graphics Designer Code - results not the same run in SAS Studio</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ODS-Graphics-Designer-Code-results-not-the-same-run-in-SAS/m-p/591189#M18907</link>
      <description>&lt;P&gt;Code? The template and the graphic procedure using the template as a minimum to have a chance of answering this sort of question.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Consider if I asked you "why are the markers on my graph pink" without showing and code. Where would you begin? Lots of guesses but showing code would reduce them.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2019 15:24:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ODS-Graphics-Designer-Code-results-not-the-same-run-in-SAS/m-p/591189#M18907</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-09-24T15:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Graphics Designer Code - results not the same run in SAS Studio</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ODS-Graphics-Designer-Code-results-not-the-same-run-in-SAS/m-p/591196#M18908</link>
      <description>&lt;P&gt;Good point.&amp;nbsp; I thought maybe the generic nature of the problem - ie template/code generated by Graphics Designer not running the same in Studio might spark an idea.&amp;nbsp; But here is the code generated by Graphics Designer.&amp;nbsp; This template code works in both the Graphics Designer and in Studio but in Studio the symbols for all groups are the same (circles). &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;F&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods graphics /reset=all;&lt;/P&gt;
&lt;P&gt;ods graphics on;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc template;&lt;/P&gt;
&lt;P&gt;define statgraph Graph2;&lt;/P&gt;
&lt;P&gt;dynamic _SUBSYSTEM _PROB_SAME_SUBSYSTEM _FSA_MODEL;&lt;/P&gt;
&lt;P&gt;begingraph / designwidth=784 designheight=593 DataSymbols=(CIRCLE PLUS X TRIANGLE SQUARE ASTERISK DIAMOND);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; entrytitle halign=center 'Probability of Seeing Another SR from same Subsystem within 1 week';&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; layout lattice / rowdatarange=data columndatarange=data rowgutter=10 columngutter=10;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layout overlay / xaxisopts=( label=('Repeat Subsystem') labelattrs=(style=NORMAL weight=BOLD ) discreteopts=( tickvaluefitpolicy=splitrotate)) yaxisopts=( griddisplay=on label=('Probability of Occurance') labelattrs=(style=NORMAL weight=BOLD ));&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; scatterplot x=_SUBSYSTEM y=_PROB_SAME_SUBSYSTEM / group=_FSA_MODEL name='scatter' markerattrs=(size=9 );&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; discretelegend 'scatter' / opaque=false border=true halign=right valign=top displayclipped=true across=1 order=rowmajor location=inside;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endlayout;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; endlayout;&lt;/P&gt;
&lt;P&gt;endgraph;&lt;/P&gt;
&lt;P&gt;end;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc sgrender data=work.PROB_NEXT_SR template=Graph2;&lt;/P&gt;
&lt;P&gt;dynamic _SUBSYSTEM="SUBSYSTEM" _PROB_SAME_SUBSYSTEM="'PROB_SAME_SUBSYSTEM'n" _FSA_MODEL="'FSA_MODEL'n";&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;ods graphics off;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2019 15:37:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ODS-Graphics-Designer-Code-results-not-the-same-run-in-SAS/m-p/591196#M18908</guid>
      <dc:creator>FredGIII</dc:creator>
      <dc:date>2019-09-24T15:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Graphics Designer Code - results not the same run in SAS Studio</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ODS-Graphics-Designer-Code-results-not-the-same-run-in-SAS/m-p/591201#M18909</link>
      <description>Hi:&lt;BR /&gt;  Nobody can test or run your template without some sample data.&lt;BR /&gt;Cynthia</description>
      <pubDate>Tue, 24 Sep 2019 15:45:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ODS-Graphics-Designer-Code-results-not-the-same-run-in-SAS/m-p/591201#M18909</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2019-09-24T15:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Graphics Designer Code - results not the same run in SAS Studio</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ODS-Graphics-Designer-Code-results-not-the-same-run-in-SAS/m-p/591239#M18910</link>
      <description>&lt;P&gt;This is not a code issue -- it's an ODS style issue. The style you used in Designer probably defaulted to ATTRPRIORITY=NONE, which means colors, symbols, and line patterns all rotate together. The default style for ODS HTML is HTMLBLUE, which is set up to be ATTRPRIORITY=COLOR, which means cycle through all colors BEFORE moving to the next symbol or line pattern. The override for this is simple. Add this statement to your code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods graphics / attrpriority=none;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This will override the style setting.&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, 24 Sep 2019 17:42:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ODS-Graphics-Designer-Code-results-not-the-same-run-in-SAS/m-p/591239#M18910</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2019-09-24T17:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Graphics Designer Code - results not the same run in SAS Studio</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ODS-Graphics-Designer-Code-results-not-the-same-run-in-SAS/m-p/591241#M18911</link>
      <description>&lt;P&gt;Thanks Dan,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That was it. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2019 17:41:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ODS-Graphics-Designer-Code-results-not-the-same-run-in-SAS/m-p/591241#M18911</guid>
      <dc:creator>FredGIII</dc:creator>
      <dc:date>2019-09-24T17:41:52Z</dc:date>
    </item>
  </channel>
</rss>

