<?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 to change marker size in style template in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/How-to-change-marker-size-in-style-template/m-p/11525#M168</link>
    <description>MarkerSize changes from GraphData1-N are not supported.   &lt;BR /&gt;
&lt;BR /&gt;
A work around for some cases (where number of groups is known) is to transpose your data into columns, and use a separate scatter statement for each column with MARKERATTRS=(SIZE=15) in the syntax. &lt;BR /&gt;
&lt;BR /&gt;
If it is important that groups support marker size, please call it in to SAS Tech Support.</description>
    <pubDate>Sun, 12 Jun 2011 20:47:06 GMT</pubDate>
    <dc:creator>Jay54</dc:creator>
    <dc:date>2011-06-12T20:47:06Z</dc:date>
    <item>
      <title>How to change marker size in style template</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-change-marker-size-in-style-template/m-p/11524#M167</link>
      <description>I know we can change marker size in the template using markerattrs=(size=10px).&lt;BR /&gt;
I tried to do that in style (markersize = 10px) but it seems do not work. Is there a way to set maker size in style?&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Yeming&lt;BR /&gt;
 &lt;BR /&gt;
Here is the program:&lt;BR /&gt;
&lt;BR /&gt;
proc template;&lt;BR /&gt;
  define style Styles.MyJournal;&lt;BR /&gt;
  parent = styles.Journal;&lt;BR /&gt;
    style GraphData1 from GraphData1 /&lt;BR /&gt;
	  markersize = 10px&lt;BR /&gt;
      markersymbol = "CircleFilled";&lt;BR /&gt;
    style GraphData2 from GraphData2 /&lt;BR /&gt;
	  markersize = 10px&lt;BR /&gt;
      markersymbol = "plus";&lt;BR /&gt;
    style GraphData3 from GraphData3 /&lt;BR /&gt;
	  markersize = 10px&lt;BR /&gt;
      markersymbol = "X";&lt;BR /&gt;
    style GraphData4 from GraphData4 /&lt;BR /&gt;
      markersymbol = "triangle";&lt;BR /&gt;
    style GraphData5 from GraphData5 /&lt;BR /&gt;
      markersymbol = "tilde";&lt;BR /&gt;
    style GraphData6 from GraphData6 /&lt;BR /&gt;
      markersymbol = "ibeam";&lt;BR /&gt;
    style GraphData7 from GraphData7 /&lt;BR /&gt;
      markersymbol = "square";&lt;BR /&gt;
    style GraphData8 from GraphData8 /&lt;BR /&gt;
      markersymbol = "asterisk";&lt;BR /&gt;
    style GraphData9 from GraphData9 /&lt;BR /&gt;
      markersymbol = "diamond";&lt;BR /&gt;
    style GraphData10 from GraphData10 /&lt;BR /&gt;
      markersymbol = "union";&lt;BR /&gt;
    style GraphData11 from GraphData11 /&lt;BR /&gt;
      markersymbol = "hash";&lt;BR /&gt;
    style GraphData12 from GraphData12 /&lt;BR /&gt;
      markersymbol = "tack";&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
proc format;&lt;BR /&gt;
   value vf 5 = 'GraphValueText';&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
data x;&lt;BR /&gt;
   array y[20] y0 - y19;&lt;BR /&gt;
   do x = 1 to 20; y&lt;X&gt; = x - 0.5; end;&lt;BR /&gt;
   do x = 0 to 10 by 5; output; end;&lt;BR /&gt;
   label y0 = 'GraphLabelText' x = 'GraphLabelText';&lt;BR /&gt;
   format x y0 vf.;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
%macro l(i, l);&lt;BR /&gt;
   reg y=y&amp;amp;i x=x / lineattrs=&amp;amp;l markerattrs=&amp;amp;l curvelabel="  &amp;amp;l"&lt;BR /&gt;
                   curvelabelpos=max;&lt;BR /&gt;
%mend;&lt;BR /&gt;
&lt;BR /&gt;
ods listing style=myjournal;&lt;BR /&gt;
proc sgplot noautolegend;&lt;BR /&gt;
   title 'GraphTitleText';&lt;BR /&gt;
   %macro d; %do i = 1 %to 12;&lt;BR /&gt;
      reg y=y%eval(19-&amp;amp;i) x=x / lineattrs=GraphData&amp;amp;i markerattrs=GraphData&amp;amp;i&lt;BR /&gt;
                                curvelabel="  GraphData&amp;amp;i" curvelabelpos=max;&lt;BR /&gt;
   %end; %mend; %d&lt;BR /&gt;
   %l(19, GraphDataDefault)&lt;BR /&gt;
   %l( 6, GraphFit)&lt;BR /&gt;
   %l( 5, GraphFit2)&lt;BR /&gt;
   %l( 4, GraphPredictionLimits)&lt;BR /&gt;
   %l( 3, GraphConfidence)&lt;BR /&gt;
   %l( 2, GraphGridLines)&lt;BR /&gt;
   %l( 1, GraphOutlier)&lt;BR /&gt;
   %l( 0, GraphReference)&lt;BR /&gt;
   xaxis values=(0 5 10);&lt;BR /&gt;
run;&lt;/X&gt;</description>
      <pubDate>Sun, 12 Jun 2011 15:43:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-change-marker-size-in-style-template/m-p/11524#M167</guid>
      <dc:creator>CharlieHe</dc:creator>
      <dc:date>2011-06-12T15:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to change marker size in style template</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-change-marker-size-in-style-template/m-p/11525#M168</link>
      <description>MarkerSize changes from GraphData1-N are not supported.   &lt;BR /&gt;
&lt;BR /&gt;
A work around for some cases (where number of groups is known) is to transpose your data into columns, and use a separate scatter statement for each column with MARKERATTRS=(SIZE=15) in the syntax. &lt;BR /&gt;
&lt;BR /&gt;
If it is important that groups support marker size, please call it in to SAS Tech Support.</description>
      <pubDate>Sun, 12 Jun 2011 20:47:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-change-marker-size-in-style-template/m-p/11525#M168</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2011-06-12T20:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to change marker size in style template</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-change-marker-size-in-style-template/m-p/11526#M169</link>
      <description>Hi Sanjay,&lt;BR /&gt;
&lt;BR /&gt;
Thanks.&lt;BR /&gt;
Yeming</description>
      <pubDate>Sun, 12 Jun 2011 21:49:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-change-marker-size-in-style-template/m-p/11526#M169</guid>
      <dc:creator>CharlieHe</dc:creator>
      <dc:date>2011-06-12T21:49:50Z</dc:date>
    </item>
  </channel>
</rss>

