<?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: How can I manage SUBPIXEL for different Template in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/How-can-I-manage-SUBPIXEL-for-different-Template/m-p/364293#M12647</link>
    <description>&lt;P&gt;Right. &amp;nbsp;Off or Auto.&lt;/P&gt;</description>
    <pubDate>Mon, 05 Jun 2017 15:16:30 GMT</pubDate>
    <dc:creator>WarrenKuhfeld</dc:creator>
    <dc:date>2017-06-05T15:16:30Z</dc:date>
    <item>
      <title>How can I manage SUBPIXEL for different Template</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-can-I-manage-SUBPIXEL-for-different-Template/m-p/362958#M12630</link>
      <description>&lt;P&gt;I am using SAS 9.4 L1M3, I came to know that SUBPIXEL rendering is by default ON for some plot statement like&amp;nbsp;ScatterPlot.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to make it OFF for all template and then want to make it enable when necessary, this is why I tried following way;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ODS GRAPHICS ON /RESET=all SUBPIXEL=OFF ANTIALIAS=ON ; 

*Grouping a Scatter Plot with yaxis dropline;
PROC TEMPLATE;
define statgraph dropline1;
begingraph ;
EntryTitle "Grouping a Scatter Plot with yaxis dropline" /;
layout overlay ;
   ScatterPlot X=Height Y=Weight / subpixel=on primary=true Group=Sex LegendLabel="Weight" NAME="SCATTER";
   Dropline X=70 Y=120 / clip=true DropTo=y Lineattrs=GRAPHDATA2;
   DiscreteLegend "SCATTER"/ title="Sex";
endlayout;
endgraph;
end;
RUN;

PROC SGRENDER DATA=sashelp.class TEMPLATE=dropline1;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;But its not working and Log getting following error message;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;94 ODS GRAPHICS ON /RESET=all SUBPIXEL=OFF ANTIALIAS=ON ;&lt;BR /&gt;95&lt;BR /&gt;96 *Grouping a Scatter Plot with yaxis dropline;&lt;BR /&gt;97 PROC TEMPLATE;&lt;BR /&gt;98 define statgraph dropline1;&lt;BR /&gt;99 begingraph ;&lt;BR /&gt;100 EntryTitle "Grouping a Scatter Plot with yaxis dropline" /;&lt;BR /&gt;101 layout overlay ;&lt;BR /&gt;102 ScatterPlot X=Height Y=Weight / subpixel=on primary=true Group=Sex&lt;BR /&gt;--&lt;BR /&gt;772&lt;BR /&gt;102! LegendLabel="Weight" NAME="SCATTER";&lt;BR /&gt;ERROR 772-580: Syntax error: expecting a constant or a dynamic.&lt;BR /&gt;103 Dropline X=70 Y=120 / clip=true DropTo=y Lineattrs=GRAPHDATA2;&lt;BR /&gt;104 DiscreteLegend "SCATTER"/ title="Sex";&lt;BR /&gt;105 endlayout;&lt;BR /&gt;106 endgraph;&lt;BR /&gt;107 end;&lt;BR /&gt;WARNING: Object will not be saved.&lt;BR /&gt;108 RUN;&lt;BR /&gt;NOTE: PROCEDURE TEMPLATE used (Total process time):&lt;BR /&gt;real time 0.02 seconds&lt;BR /&gt;cpu time 0.03 seconds&lt;/P&gt;&lt;P&gt;WARNING: Errors were produced.&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please tell me how can I resolve this?, or, Could you please let me know if there have any other thing.&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2017 07:56:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-can-I-manage-SUBPIXEL-for-different-Template/m-p/362958#M12630</guid>
      <dc:creator>zahir</dc:creator>
      <dc:date>2017-05-31T07:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: How can I manage SUBPIXEL for different Template</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-can-I-manage-SUBPIXEL-for-different-Template/m-p/363014#M12631</link>
      <description>&lt;DIV id="p047j0fnt2mspwn1n39ey99k0vf4" class="xis-argDescriptionPair"&gt;
&lt;H4 class="xis-argument"&gt;AUTO&lt;/H4&gt;
&lt;DIV class="xis-argumentDescription"&gt;
&lt;P class="xis-paraSimpleFirst"&gt;The system sets subpixel rendering OFF for this scatter plot, unless SUBPIXEL=ON is specified in the BEGINGRAPH statement or in an &lt;A id="GTn0sbfdgx6vobkpn0zufiu2f05o9e" class="glossTerm" target="_blank"&gt;&lt;/A&gt;ODS GRAPHICS statement. In that case, subpixel rendering is ON for this scatter plot.&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV id="n0ki3dtqg0q3nun1htpvd0vo6383" class="xis-argDescriptionPair"&gt;
&lt;H4 class="xis-argument"&gt;OFF&lt;/H4&gt;
&lt;DIV class="xis-argumentDescription"&gt;
&lt;P class="xis-paraSimpleFirst"&gt;disables subpixel rendering for image output only for this scatter plot.&lt;/P&gt;
&lt;P class="xis-paraSimpleFirst"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="xis-paraSimpleFirst"&gt;Sorry, but it is not designed the way you want. &amp;nbsp;You can enable it in general (generarlly a good thing) and disable it for a graph component that is expensive,&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 31 May 2017 10:50:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-can-I-manage-SUBPIXEL-for-different-Template/m-p/363014#M12631</guid>
      <dc:creator>WarrenKuhfeld</dc:creator>
      <dc:date>2017-05-31T10:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: How can I manage SUBPIXEL for different Template</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-can-I-manage-SUBPIXEL-for-different-Template/m-p/364232#M12644</link>
      <description>&lt;P&gt;Thank you very much. So, if we use subpixel option with inline gtl plot statement then we can only make it off from there, isn't it?&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2017 10:13:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-can-I-manage-SUBPIXEL-for-different-Template/m-p/364232#M12644</guid>
      <dc:creator>zahir</dc:creator>
      <dc:date>2017-06-05T10:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: How can I manage SUBPIXEL for different Template</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-can-I-manage-SUBPIXEL-for-different-Template/m-p/364293#M12647</link>
      <description>&lt;P&gt;Right. &amp;nbsp;Off or Auto.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2017 15:16:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-can-I-manage-SUBPIXEL-for-different-Template/m-p/364293#M12647</guid>
      <dc:creator>WarrenKuhfeld</dc:creator>
      <dc:date>2017-06-05T15:16:30Z</dc:date>
    </item>
  </channel>
</rss>

