<?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: proc sgplot - different transparency for line and markers in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-sgplot-different-transparency-for-line-and-markers/m-p/780104#M248535</link>
    <description>&lt;P&gt;You could overlap scatter points or line to make it happen.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data=sashelp.heart; 
	scatter y=height x=weight/markerattrs=(symbol=circlefilled size=6) transparency=0.85;
    reg y=height x=weight / lineattrs=(thickness=4 color=red ) nomarkers; 
	yaxis grid  label="ylabel";
	xaxis label="xlabel";
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sat, 13 Nov 2021 11:49:04 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2021-11-13T11:49:04Z</dc:date>
    <item>
      <title>proc sgplot - different transparency for line and markers</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-sgplot-different-transparency-for-line-and-markers/m-p/780010#M248486</link>
      <description>&lt;P&gt;I'm using proc sgplot and I would like a dark solid line over a fairly transparent scatter plot. Can I adjust the transparency for the line/markers individually?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It seems you that you can't put 'transparency' inside either set of parentheses.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc sgplot data=mydata; 
	reg y=hrs x=days / lineattrs=(thickness=4 color=red)
		markerattrs=(symbol=circlefilled size=6) transparency=0.85; 
	yaxis grid values=(0 to 1800 by 100) label="ylabel";
	xaxis label="xlabel";
run;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Nov 2021 16:32:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-sgplot-different-transparency-for-line-and-markers/m-p/780010#M248486</guid>
      <dc:creator>kz_</dc:creator>
      <dc:date>2021-11-12T16:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot - different transparency for line and markers</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-sgplot-different-transparency-for-line-and-markers/m-p/780015#M248487</link>
      <description>&lt;P&gt;I might suggest two REG statements. One with the markers and transparency you want , the second with the line attributes you want and the NOMARKERS option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The order of the REG statements will have some impact so I suspect the first should be the one with markers and the second the one without markers so the line draws over the previous line.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Nov 2021 17:28:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-sgplot-different-transparency-for-line-and-markers/m-p/780015#M248487</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-11-12T17:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot - different transparency for line and markers</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-sgplot-different-transparency-for-line-and-markers/m-p/780104#M248535</link>
      <description>&lt;P&gt;You could overlap scatter points or line to make it happen.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data=sashelp.heart; 
	scatter y=height x=weight/markerattrs=(symbol=circlefilled size=6) transparency=0.85;
    reg y=height x=weight / lineattrs=(thickness=4 color=red ) nomarkers; 
	yaxis grid  label="ylabel";
	xaxis label="xlabel";
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 13 Nov 2021 11:49:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-sgplot-different-transparency-for-line-and-markers/m-p/780104#M248535</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-11-13T11:49:04Z</dc:date>
    </item>
  </channel>
</rss>

