<?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: SGPLOT colorresponse gradlegend scale in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/SGPLOT-colorresponse-gradlegend-scale/m-p/780713#M31662</link>
    <description>Can you post your real data to replicate your problem ?</description>
    <pubDate>Wed, 17 Nov 2021 12:10:59 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2021-11-17T12:10:59Z</dc:date>
    <item>
      <title>SGPLOT colorresponse gradlegend scale</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SGPLOT-colorresponse-gradlegend-scale/m-p/780627#M31659</link>
      <description>&lt;P&gt;How to re-scale color response legend in SGPLOT? This is what I'm getting:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vic3_0-1637106532597.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/65792i45EF42D89227CCDC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vic3_0-1637106532597.png" alt="Vic3_0-1637106532597.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The "solid" values are in the range of 0 to 1, yet the procedure generates color scale from 0 to 300, such that variation on the graph is invisible (i.e. all dots are green). I made a number of these graphs for different data sets, and the legend changes, but the range is always 100-500 times wider than needed.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;scatter x=ntod2c y=ntod1c / colorresponse=ntos2w
		markerattrs=(symbol=CircleFilled size=9)
		colormodel=(CX99D594 CXFEE08B CXFC8D59 V000FFFF); 
		gradlegend / title='Solid, mg' titleattrs=(color=black family=arial size=10);
		xaxis min=0 valueattrs=(color=black size=10pt); yaxis min=0 valueattrs=(color=black size=10pt);
	lineparm x=0 y=0 slope=1;
	xaxis label="Liquid 2, mg/L";
	yaxis label="Liquid 1, mg/L"; &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Interestingly, I ran the same script few months ago and the legend optimized automatically. Now it's giving me trouble.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Nov 2021 00:18:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SGPLOT-colorresponse-gradlegend-scale/m-p/780627#M31659</guid>
      <dc:creator>Vic3</dc:creator>
      <dc:date>2021-11-17T00:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT colorresponse gradlegend scale</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SGPLOT-colorresponse-gradlegend-scale/m-p/780713#M31662</link>
      <description>Can you post your real data to replicate your problem ?</description>
      <pubDate>Wed, 17 Nov 2021 12:10:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SGPLOT-colorresponse-gradlegend-scale/m-p/780713#M31662</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-11-17T12:10:59Z</dc:date>
    </item>
  </channel>
</rss>

