<?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 GTL  Continuouslegend for scattterplot with markercolorgradient in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/GTL-Continuouslegend-for-scattterplot-with-markercolorgradient/m-p/553165#M18026</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm struggling with a quite simple issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As an example I'm using:&lt;/P&gt;&lt;P&gt;&lt;A href="https://documentation.sas.com/?docsetId=grstatgraph&amp;amp;docsetTarget=n11ergda33xtlwn1rdkbl1crim9n.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#p1kmmxcpje10nln1t11dp9qj2efy"&gt;https://documentation.sas.com/?docsetId=grstatgraph&amp;amp;docsetTarget=n11ergda33xtlwn1rdkbl1crim9n.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#p1kmmxcpje10nln1t11dp9qj2efy&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I want to achieve is to move continuouslegend to the left side and also&amp;nbsp;&lt;STRONG&gt;title and values to left side of the legend.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Final image should look like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sas_legend_issue.png" style="width: 510px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/28934i624C2A4B2688919B/image-size/large?v=v2&amp;amp;px=999" role="button" title="sas_legend_issue.png" alt="sas_legend_issue.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 23 Apr 2019 10:38:57 GMT</pubDate>
    <dc:creator>bearda</dc:creator>
    <dc:date>2019-04-23T10:38:57Z</dc:date>
    <item>
      <title>GTL  Continuouslegend for scattterplot with markercolorgradient</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/GTL-Continuouslegend-for-scattterplot-with-markercolorgradient/m-p/553165#M18026</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm struggling with a quite simple issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As an example I'm using:&lt;/P&gt;&lt;P&gt;&lt;A href="https://documentation.sas.com/?docsetId=grstatgraph&amp;amp;docsetTarget=n11ergda33xtlwn1rdkbl1crim9n.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#p1kmmxcpje10nln1t11dp9qj2efy"&gt;https://documentation.sas.com/?docsetId=grstatgraph&amp;amp;docsetTarget=n11ergda33xtlwn1rdkbl1crim9n.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#p1kmmxcpje10nln1t11dp9qj2efy&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I want to achieve is to move continuouslegend to the left side and also&amp;nbsp;&lt;STRONG&gt;title and values to left side of the legend.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Final image should look like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sas_legend_issue.png" style="width: 510px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/28934i624C2A4B2688919B/image-size/large?v=v2&amp;amp;px=999" role="button" title="sas_legend_issue.png" alt="sas_legend_issue.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2019 10:38:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/GTL-Continuouslegend-for-scattterplot-with-markercolorgradient/m-p/553165#M18026</guid>
      <dc:creator>bearda</dc:creator>
      <dc:date>2019-04-23T10:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: GTL  Continuouslegend for scattterplot with markercolorgradient</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/GTL-Continuouslegend-for-scattterplot-with-markercolorgradient/m-p/571322#M18413</link>
      <description>&lt;P&gt;Bump&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2019 06:46:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/GTL-Continuouslegend-for-scattterplot-with-markercolorgradient/m-p/571322#M18413</guid>
      <dc:creator>bearda</dc:creator>
      <dc:date>2019-07-05T06:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: GTL  Continuouslegend for scattterplot with markercolorgradient</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/GTL-Continuouslegend-for-scattterplot-with-markercolorgradient/m-p/571791#M18425</link>
      <description>&lt;P&gt;Try some combination of a LAYOUT LATTICE and a SIDEBAR. This isn't perfect, but maybe it will give you some ideas to pursue:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc template;
define statgraph attrmap;
  begingraph;
    entrytitle "Height and Weight Distribution" ;

    /* Define the attribute map and assign the name "densityrange." */
    rangeattrmap name="densityrange" ;
      range MIN - 0.0004     / rangealtcolor=blue ;
      range 0.0004 &amp;lt; - 0.0014 / rangealtcolormodel=(lightpurple lightred) ;
      range 0.0014 &amp;lt; - 0.002  / rangealtcolor=red ;
    endrangeattrmap ;

    /* Associate the attribute map with input data column Density and
       assign variable name RANGEVAR to the named association */
    rangeattrvar attrvar=rangevar var=density attrmap="densityrange" ;

    /* Reference RANGEVAR in the SCATTTERPLOT statement */
    layout lattice / columns=2 columnweights=(0.1 0.9);
       sidebar / align=left;
           entry halign=left "Density" / rotate=90 ;
       endsidebar;
      continuouslegend "scatter" / orient=vertical
        halign=left title="";
      scatterplot x=height y=weight / markercolorgradient=rangevar
        markerattrs=(symbol=squarefilled size=6px) name="scatter";
    endlayout;
  endgraph;
end;

ods graphics / reset width=475px;
proc sgrender data=sashelp.gridded(where=(count&amp;gt;0)) template=attrmap;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 08 Jul 2019 14:43:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/GTL-Continuouslegend-for-scattterplot-with-markercolorgradient/m-p/571791#M18425</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-07-08T14:43:00Z</dc:date>
    </item>
  </channel>
</rss>

