<?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: Remove any gap between panels in a lattice layout with GTL in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Remove-any-gap-between-panels-in-a-lattice-layout-with-GTL/m-p/622062#M19397</link>
    <description>&lt;P&gt;Hi dagremo,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've tried using THRESHOLDMIN=0, OFFSETMIN=0 and OUTERPAD=0, but they only seem to affect the white space in the panels, not the pink space:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc template;
	define statgraph customGraph_phil;
	begingraph / backgroundColor=pink;
	layout lattice / columns=2 rowdatarange=union pad=0 columngutter=0
	                 OUTERPAD=0 HALIGN=LEFT
                     ;

		layout overlay / wallDisplay=(fill) pad=0 outerpad=0 border=true borderAttrs=(color=blue)
		                 OUTERPAD=0 PAD=0
		                 XAXISOPTS=(LINEAROPTS=(THRESHOLDMIN=0 THRESHOLDMAX=0)
						            OFFSETMIN=0 OFFSETMAX=0
                                   )
                         ;
			histogram height;
		endlayout;
		layout overlay / wallDisplay=(fill) pad=0 outerpad=0 border=true borderAttrs=(color=blue)
		                 OUTERPAD=0 PAD=0
		                 XAXISOPTS=(LINEAROPTS=(THRESHOLDMIN=0 THRESHOLDMAX=0)
						            OFFSETMIN=0 OFFSETMAX=0
                                   )
                         ;
			histogram weight;
		endlayout;

		rowaxes;
			rowaxis;
		endrowaxes;

	endlayout;
	endgraph;
	end;
run;

ods graphics / width=4in height=2in;
proc sgrender data=sashelp.class template=customGraph_phil;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GTL_lattice.png" style="width: 398px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/35840iA90FB08BF723B8F7/image-size/large?v=v2&amp;amp;px=999" role="button" title="GTL_lattice.png" alt="GTL_lattice.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I'm using SAS 9.4M6, so maybe what you are trying to do is not yet possible!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;.............Phil&lt;/P&gt;</description>
    <pubDate>Mon, 03 Feb 2020 21:55:42 GMT</pubDate>
    <dc:creator>hollandnumerics</dc:creator>
    <dc:date>2020-02-03T21:55:42Z</dc:date>
    <item>
      <title>Remove any gap between panels in a lattice layout with GTL</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Remove-any-gap-between-panels-in-a-lattice-layout-with-GTL/m-p/621996#M19396</link>
      <description>&lt;P&gt;I'm creating a multi-panel layout using GTL and the lattice layout, and I'm trying to completely remove any gap between plot areas of the panels. However, there's a sliver of space on the left side of each panel that I can't figure out how to get rid of. Here's a very simple example to demonstrate what I mean:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc template;
	define statgraph customGraph;
	begingraph / backgroundColor=pink;
	layout lattice / columns=2 rowdatarange=union pad=0 columngutter=0;

		layout overlay / wallDisplay=(fill) pad=0 outerpad=0 border=true borderAttrs=(color=blue);
			histogram height;
		endlayout;
		layout overlay / wallDisplay=(fill) pad=0 outerpad=0 border=true borderAttrs=(color=blue);
			histogram weight;
		endlayout;

		rowaxes;
			rowaxis;
		endrowaxes;

	endlayout;
	endgraph;
	end;
run;

ods graphics / width=4in height=2in;
proc sgrender data=sashelp.class template=customGraph;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;And here's the output. I added the blue border just to make it clear what's going on:&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="Gap between plots.png" style="width: 384px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/35834i0D054B4321C31484/image-size/large?v=v2&amp;amp;px=999" role="button" title="Gap between plots.png" alt="Gap between plots.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see, technically there's no gap between the panels because the blue borders in the middle line up. What I'm referring to though is the gap between the "data areas" of the panels, i.e., there's still a sliver of pink space between the white areas, and I want it gone!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea how to remove that left edge within each panel? I've tried messing with all the pad options I could find. Thanks for any help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;P.S. I'm using&amp;nbsp;&lt;SPAN&gt;SAS 9.4M3.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2020 21:06:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Remove-any-gap-between-panels-in-a-lattice-layout-with-GTL/m-p/621996#M19396</guid>
      <dc:creator>dagremu</dc:creator>
      <dc:date>2020-02-03T21:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Remove any gap between panels in a lattice layout with GTL</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Remove-any-gap-between-panels-in-a-lattice-layout-with-GTL/m-p/622062#M19397</link>
      <description>&lt;P&gt;Hi dagremo,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've tried using THRESHOLDMIN=0, OFFSETMIN=0 and OUTERPAD=0, but they only seem to affect the white space in the panels, not the pink space:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc template;
	define statgraph customGraph_phil;
	begingraph / backgroundColor=pink;
	layout lattice / columns=2 rowdatarange=union pad=0 columngutter=0
	                 OUTERPAD=0 HALIGN=LEFT
                     ;

		layout overlay / wallDisplay=(fill) pad=0 outerpad=0 border=true borderAttrs=(color=blue)
		                 OUTERPAD=0 PAD=0
		                 XAXISOPTS=(LINEAROPTS=(THRESHOLDMIN=0 THRESHOLDMAX=0)
						            OFFSETMIN=0 OFFSETMAX=0
                                   )
                         ;
			histogram height;
		endlayout;
		layout overlay / wallDisplay=(fill) pad=0 outerpad=0 border=true borderAttrs=(color=blue)
		                 OUTERPAD=0 PAD=0
		                 XAXISOPTS=(LINEAROPTS=(THRESHOLDMIN=0 THRESHOLDMAX=0)
						            OFFSETMIN=0 OFFSETMAX=0
                                   )
                         ;
			histogram weight;
		endlayout;

		rowaxes;
			rowaxis;
		endrowaxes;

	endlayout;
	endgraph;
	end;
run;

ods graphics / width=4in height=2in;
proc sgrender data=sashelp.class template=customGraph_phil;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GTL_lattice.png" style="width: 398px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/35840iA90FB08BF723B8F7/image-size/large?v=v2&amp;amp;px=999" role="button" title="GTL_lattice.png" alt="GTL_lattice.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I'm using SAS 9.4M6, so maybe what you are trying to do is not yet possible!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;.............Phil&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2020 21:55:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Remove-any-gap-between-panels-in-a-lattice-layout-with-GTL/m-p/622062#M19397</guid>
      <dc:creator>hollandnumerics</dc:creator>
      <dc:date>2020-02-03T21:55:42Z</dc:date>
    </item>
  </channel>
</rss>

