<?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 NOSUBPIXEL option in when using SGRENDER in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/NOSUBPIXEL-option-in-when-using-SGRENDER/m-p/267543#M9588</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a problem where I have to use custom made GTL graphics and move them into RTF. After the SAS update of 9.3 or 9.4 the graphics started to look like s*** in rtf environment. I found out that it is due to the subpixeling feature.&lt;/P&gt;
&lt;P&gt;I have no issues disabling the subpixeling by introducing the NOSUBPIXEL option on SGPLOT etc. however when using GTL and SGRENDER I have no clue how to achieve this.&lt;/P&gt;
&lt;P&gt;Here &lt;A href="http://support.sas.com/documentation/cdl/en/odsug/67921/HTML/default/viewer.htm#p0kroq43yu0lspn16hk1u4c65lti.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/odsug/67921/HTML/default/viewer.htm#p0kroq43yu0lspn16hk1u4c65lti.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;is stated that you can give this option on the ODS GRAPHICS statement, but when used I get an error of unknown option. I also should have the 3rd mainentance update installed.&lt;/P&gt;
&lt;P&gt;Can I implement this somehow inside the template? Any help is much appreciated!&lt;/P&gt;</description>
    <pubDate>Mon, 02 May 2016 07:20:10 GMT</pubDate>
    <dc:creator>BobHope</dc:creator>
    <dc:date>2016-05-02T07:20:10Z</dc:date>
    <item>
      <title>NOSUBPIXEL option in when using SGRENDER</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/NOSUBPIXEL-option-in-when-using-SGRENDER/m-p/267543#M9588</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a problem where I have to use custom made GTL graphics and move them into RTF. After the SAS update of 9.3 or 9.4 the graphics started to look like s*** in rtf environment. I found out that it is due to the subpixeling feature.&lt;/P&gt;
&lt;P&gt;I have no issues disabling the subpixeling by introducing the NOSUBPIXEL option on SGPLOT etc. however when using GTL and SGRENDER I have no clue how to achieve this.&lt;/P&gt;
&lt;P&gt;Here &lt;A href="http://support.sas.com/documentation/cdl/en/odsug/67921/HTML/default/viewer.htm#p0kroq43yu0lspn16hk1u4c65lti.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/odsug/67921/HTML/default/viewer.htm#p0kroq43yu0lspn16hk1u4c65lti.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;is stated that you can give this option on the ODS GRAPHICS statement, but when used I get an error of unknown option. I also should have the 3rd mainentance update installed.&lt;/P&gt;
&lt;P&gt;Can I implement this somehow inside the template? Any help is much appreciated!&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2016 07:20:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/NOSUBPIXEL-option-in-when-using-SGRENDER/m-p/267543#M9588</guid>
      <dc:creator>BobHope</dc:creator>
      <dc:date>2016-05-02T07:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: NOSUBPIXEL option in when using SGRENDER</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/NOSUBPIXEL-option-in-when-using-SGRENDER/m-p/267555#M9589</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The BEGINGRAPH statement in GTL does have a subpixel=off option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use the TMPLOUT= option to see the GTL code generated by Proc SGPLOT:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot
  data=sashelp.cars
  nosubpixel
  tmplout="c:\temp\sgplot.sas"
;
  vbar type / group=origin;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Is translated into&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc template;
  define statgraph sgplot;
    dynamic _NEGATIVE_;
    dynamic _ticklist_;
    begingraph / collation=binary subpixel=off;
      layout overlay / yaxisopts=(labelFitPolicy=Split) y2axisopts=(labelFitPolicy=Split) xaxisopts=(type=Discrete discreteOpts=(tickValueList=_ticklist_ tickvaluefitpolicy=SplitRotate tickValueListPolicy=Union)) x2axisopts=(type=Discrete discreteOpts=(tickValueList=_ticklist_ tickvaluefitpolicy=SplitRotate tickValueListPolicy=Union)) yaxisopts=(linearopts=(Integer=true));
        BarChartParm X=Type Y=_FREQUENCY_ / primary=true Group=Origin LegendLabel="Frequency" NAME="VBAR";
        DiscreteLegend "VBAR"/ title="Origin";
      endlayout;
    endgraph;
  end;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Also check the doc for the &lt;A href="http://support.sas.com/documentation/cdl/en/grstatgraph/67882/HTML/default/viewer.htm#n0j696v6yqkb79n12zed3am3omcx.htm" target="_blank"&gt;BEGINGRAPH statement&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bruno&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2016 08:53:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/NOSUBPIXEL-option-in-when-using-SGRENDER/m-p/267555#M9589</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2016-05-02T08:53:15Z</dc:date>
    </item>
  </channel>
</rss>

