<?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 extend GTL heatmap area to full graph wall? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-extend-GTL-heatmap-area-to-full-graph-wall/m-p/897665#M354755</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/270406"&gt;@whymath&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With your sample data it helps to avoid specifying VIEWMIN/VIEWMAX values outside the data range and instead to set &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/grstatgraph/n0fksz728ytyz2n1ws13vlnkudyn.htm#p1l3gvbt9ksmb1n1s374inqmp489" target="_blank" rel="noopener"&gt;THRESHOLDMIN&lt;/A&gt;, &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/grstatgraph/n0fksz728ytyz2n1ws13vlnkudyn.htm#p1qphh5ukj4t1nn1uwnfczp2y7l0" target="_blank" rel="noopener"&gt;THRESHOLDMAX&lt;/A&gt;, &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/grstatgraph/n0fksz728ytyz2n1ws13vlnkudyn.htm#n0m701c9eq3zdfn13eqfrorry1an" target="_blank" rel="noopener"&gt;OFFSETMIN&lt;/A&gt; and&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/grstatgraph/n0fksz728ytyz2n1ws13vlnkudyn.htm#n1loxdh119l761n170hz4vz6jqz9" target="_blank" rel="noopener"&gt;OFFSETMAX&lt;/A&gt; to zero. The &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/grstatgraph/n0fksz728ytyz2n1ws13vlnkudyn.htm#p0s95abx8m6c7in1xs7u9l2apzvl" target="_blank" rel="noopener"&gt;LINEEXTENT=DATA&lt;/A&gt; option seems to be redundant in this case, but could also be included.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;layout overlay/xaxisopts=(linearopts=(thresholdmin=0 thresholdmax=0) offsetmin=0 offsetmax=0 /* lineextent=data */)
               yaxisopts=(linearopts=(thresholdmin=0 thresholdmax=0) offsetmin=0 offsetmax=0 /* lineextent=data */);&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sat, 07 Oct 2023 09:14:44 GMT</pubDate>
    <dc:creator>FreelanceReinh</dc:creator>
    <dc:date>2023-10-07T09:14:44Z</dc:date>
    <item>
      <title>How to extend GTL heatmap area to full graph wall?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-extend-GTL-heatmap-area-to-full-graph-wall/m-p/897656#M354741</link>
      <description>&lt;DIV&gt;I am working on a heatmap graph using GTL. The main part is finished, albeit a little imperfect. I want the 100% area of the graph wall is used for the heatmap, but there is always a gap between the outline of the graph wall and the heatmap.&lt;/DIV&gt;
&lt;DIV&gt;Following is an example:&lt;/DIV&gt;
&lt;DIV&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc template;
  define statgraph heatmapparm;
    begingraph;
      layout overlay/xaxisopts=(linearopts=(viewmin=50 viewmax=80));
        heatmapparm x=height y=weight colorresponse=count /
          name="heatmapparm" xbinaxis=false ybinaxis=false;
        continuouslegend "heatmapparm" / location=outside valign=bottom;
      endlayout;
    endgraph;
  end;
run;

proc sgrender data=sashelp.gridded template=heatmapparm;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="whymath_0-1696645036580.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/88704i86AFBD2557A227C7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="whymath_0-1696645036580.png" alt="whymath_0-1696645036580.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;DIV&gt;As you can see, there are four gaps between the heatmap and the graph wall in four directions. I want to extend the heatmap to fullfill 100% area of the graph wall, is that possible? How to make it in GTL?&lt;/DIV&gt;</description>
      <pubDate>Sat, 07 Oct 2023 02:23:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-extend-GTL-heatmap-area-to-full-graph-wall/m-p/897656#M354741</guid>
      <dc:creator>whymath</dc:creator>
      <dc:date>2023-10-07T02:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to extend GTL heatmap area to full graph wall?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-extend-GTL-heatmap-area-to-full-graph-wall/m-p/897659#M354744</link>
      <description>&lt;P&gt;Just by trying: You could define the collor for the wallcolor the same as for the minimum value in the colormodel.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc template;
  define statgraph heatmapparm;
    begingraph;
      layout overlay/xaxisopts=(linearopts=(viewmin=50 viewmax=80)) wallcolor=cx8097b2;
        heatmapparm x=height y=weight colorresponse=count /
          name="heatmapparm" xbinaxis=false ybinaxis=false
          colormodel=(cx8097b2 White cxd05b5b)
          ;
        continuouslegend "heatmapparm" / location=outside valign=bottom;
      endlayout;
    endgraph;
  end;
run;

proc sgrender data=sashelp.gridded template=heatmapparm;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 07 Oct 2023 03:57:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-extend-GTL-heatmap-area-to-full-graph-wall/m-p/897659#M354744</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2023-10-07T03:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to extend GTL heatmap area to full graph wall?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-extend-GTL-heatmap-area-to-full-graph-wall/m-p/897665#M354755</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/270406"&gt;@whymath&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With your sample data it helps to avoid specifying VIEWMIN/VIEWMAX values outside the data range and instead to set &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/grstatgraph/n0fksz728ytyz2n1ws13vlnkudyn.htm#p1l3gvbt9ksmb1n1s374inqmp489" target="_blank" rel="noopener"&gt;THRESHOLDMIN&lt;/A&gt;, &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/grstatgraph/n0fksz728ytyz2n1ws13vlnkudyn.htm#p1qphh5ukj4t1nn1uwnfczp2y7l0" target="_blank" rel="noopener"&gt;THRESHOLDMAX&lt;/A&gt;, &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/grstatgraph/n0fksz728ytyz2n1ws13vlnkudyn.htm#n0m701c9eq3zdfn13eqfrorry1an" target="_blank" rel="noopener"&gt;OFFSETMIN&lt;/A&gt; and&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/grstatgraph/n0fksz728ytyz2n1ws13vlnkudyn.htm#n1loxdh119l761n170hz4vz6jqz9" target="_blank" rel="noopener"&gt;OFFSETMAX&lt;/A&gt; to zero. The &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/grstatgraph/n0fksz728ytyz2n1ws13vlnkudyn.htm#p0s95abx8m6c7in1xs7u9l2apzvl" target="_blank" rel="noopener"&gt;LINEEXTENT=DATA&lt;/A&gt; option seems to be redundant in this case, but could also be included.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;layout overlay/xaxisopts=(linearopts=(thresholdmin=0 thresholdmax=0) offsetmin=0 offsetmax=0 /* lineextent=data */)
               yaxisopts=(linearopts=(thresholdmin=0 thresholdmax=0) offsetmin=0 offsetmax=0 /* lineextent=data */);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 07 Oct 2023 09:14:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-extend-GTL-heatmap-area-to-full-graph-wall/m-p/897665#M354755</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2023-10-07T09:14:44Z</dc:date>
    </item>
  </channel>
</rss>

