<?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: Symbol attributes in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Symbol-attributes/m-p/881895#M23909</link>
    <description>&lt;P&gt;On the SCATTERPLOT, set INCLUDEMISSINGGROUP=false.&lt;/P&gt;</description>
    <pubDate>Thu, 22 Jun 2023 13:01:43 GMT</pubDate>
    <dc:creator>DanH_sas</dc:creator>
    <dc:date>2023-06-22T13:01:43Z</dc:date>
    <item>
      <title>Symbol attributes</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Symbol-attributes/m-p/881726#M23903</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have the Scatterplot which have regression lines. Is there any way to keep some of the Symbol invisible. The reg line need to be populated for all "Group" variable but some of the symbols need to be invisible.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data=fina noautolegend ;
    by avisitn avisit;    
    ods output sgplot=sg; 
   
  scatter X=X_ Y=Y_ / group = trt01p groupdisplay=cluster name='s' markerattrs=(size=8px);  
  reg X=X_ Y=Y_/ group = trt01p name='r' lineattrs=(thickness=2px);  

  discretelegend "s" / title="Treatment:" location=outside position=bottom linelength=1.6cm across=5 down=3;
  discretelegend "r" / title="Treatment:" location=outside position=bottom linelength=1.6cm across=5 down=3;

  yaxis  min=&amp;amp;min1 max=&amp;amp;max1 valueattrs=(size=10) valueshint label="YYYY" labelattrs=(size=10);   
  xaxis  min=&amp;amp;min2 max=&amp;amp;max2 valueattrs=(size=10) valueshint label="XXXX" labelattrs=(size=10); 
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 21 Jun 2023 14:46:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Symbol-attributes/m-p/881726#M23903</guid>
      <dc:creator>Manvel</dc:creator>
      <dc:date>2023-06-21T14:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: Symbol attributes</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Symbol-attributes/m-p/881738#M23904</link>
      <description>&lt;P&gt;A DATTRMAP= data set will let you set properties for lines and markers based on the value of the group variable(s). So you could set&amp;nbsp; MARKERTRANSPARENCY=1 for some, that should render the selected markers invisible (actually 100% transparent).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The more control that you want over the group text, lines, colors, markers the more likely that you want a DATTRMAP data set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 15:29:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Symbol-attributes/m-p/881738#M23904</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-06-21T15:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: Symbol attributes</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Symbol-attributes/m-p/881749#M23905</link>
      <description>&lt;P&gt;Hi, you could set the symbol size to be 0px. However, all the symbols would be invisible.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could also just create 2 new variables (such as X2_ and Y2_) that you would use in the SCATTER statement, and these two new variable could just have the points that you want plotted.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data=fina noautolegend ;
    by avisitn avisit;    
    ods output sgplot=sg; 
   
  scatter X=X2_ Y=Y2_ / group = trt01p groupdisplay=cluster name='s' markerattrs=(size=8px);  
  reg X=X_ Y=Y_/ group = trt01p name='r' lineattrs=(thickness=2px);  

  discretelegend "s" / title="Treatment:" location=outside position=bottom linelength=1.6cm across=5 down=3;
  discretelegend "r" / title="Treatment:" location=outside position=bottom linelength=1.6cm across=5 down=3;

  yaxis  min=&amp;amp;min1 max=&amp;amp;max1 valueattrs=(size=10) valueshint label="YYYY" labelattrs=(size=10);   
  xaxis  min=&amp;amp;min2 max=&amp;amp;max2 valueattrs=(size=10) valueshint label="XXXX" labelattrs=(size=10); 
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 16:52:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Symbol-attributes/m-p/881749#M23905</guid>
      <dc:creator>djrisks</dc:creator>
      <dc:date>2023-06-21T16:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: Symbol attributes</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Symbol-attributes/m-p/881881#M23908</link>
      <description>&lt;P&gt;Thanks for valuable information that is work but now I have minor issue in my Legend part. Please advice how I can remove this symbol from Legend part(Picture below). For "E" and "F" I need to have reg lines but the symbols need to be missing or invisible.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data=final(where=(AVISITN =&amp;amp;vis.))noautolegend ;
    by avisitn avisit;    
    ods output sgplot=sg; 
   
  Title7 justify=left "ZZZZ";

  scatter X=X_ Y=Y_ / group = trt01p_ groupdisplay=cluster name='s' markerattrs=(size=8px);  
  reg X=X Y=Y / group = trt01p name='r' lineattrs=(thickness=2px) markerattrs=(size=0px);  

  discretelegend "s" / title="Treatment:" location=outside position=bottom linelength=1.4cm across=5 down=3;
  discretelegend "r" / title="Treatment:" location=outside position=bottom linelength=1.6cm across=5 down=3;

  yaxis  min=&amp;amp;min1 max=&amp;amp;max1 valueattrs=(size=10) valueshint label= "XXXX" labelattrs=(size=10);   
  xaxis  min=&amp;amp;min2 max=&amp;amp;max2  valueattrs=(size=10) valueshint label="YYYY" labelattrs=(size=10); 

run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Manvel_0-1687434133005.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/85237iF6896E2EA7D2CDCE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Manvel_0-1687434133005.png" alt="Manvel_0-1687434133005.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 11:44:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Symbol-attributes/m-p/881881#M23908</guid>
      <dc:creator>Manvel</dc:creator>
      <dc:date>2023-06-22T11:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: Symbol attributes</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Symbol-attributes/m-p/881895#M23909</link>
      <description>&lt;P&gt;On the SCATTERPLOT, set INCLUDEMISSINGGROUP=false.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 13:01:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Symbol-attributes/m-p/881895#M23909</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2023-06-22T13:01:43Z</dc:date>
    </item>
  </channel>
</rss>

