<?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: Y axis label position in two row Latice in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Y-axis-label-position-in-two-row-Latice/m-p/957975#M25240</link>
    <description>&lt;P&gt;John.King ,&lt;/P&gt;
&lt;P&gt;That would be better if you could post some data and your GTL code to test your problem.&lt;/P&gt;
&lt;P&gt;Here I make some dummy code to give you some help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;%sganno
data sganno;
 %SGTEXT(LABEL="Monophasic (11pts)",WIDTH=40,DRAWSPACE="LAYOUTPERCENT",&lt;STRONG&gt;ID="BAR"&lt;/STRONG&gt;,ROTATE=90,X1=15,Y1=30)
run;


proc template;
define statgraph y2axis;
begingraph;
layout lattice / rows=2 rowgutter=10
rowdatarange=union row2datarange=union;


layout overlay /  yaxisopts=( label=" " )  ;
histogram height / scale=count ;
histogram height / scale=percent;
densityplot height / normal();
&lt;STRONG&gt;annotate / id="BAR";&lt;/STRONG&gt;
endlayout;

layout overlay /  yaxisopts=( label=" " )  ;
scatterplot y=smoking_Status x=weight;
endlayout;

endlayout;
endgraph;
end;
proc sgrender data=sashelp.heart template=y2axis &lt;STRONG&gt;sganno=sganno;&lt;/STRONG&gt;
run;
&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1738549074745.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/104241iB1D0E1F7105C9660/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1738549074745.png" alt="Ksharp_0-1738549074745.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 03 Feb 2025 02:18:00 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2025-02-03T02:18:00Z</dc:date>
    <item>
      <title>Y axis label position in two row Latice</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Y-axis-label-position-in-two-row-Latice/m-p/957965#M25238</link>
      <description>&lt;P&gt;Is there a way to get the Y axis label in the top figure to move closer to the tick labels.&amp;nbsp; I get why it is positioned this way because of the tick values in the bottom figure.&amp;nbsp; I'm using GTL.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 325px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/104239iD21C3699EB5C6C3E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 02 Feb 2025 21:45:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Y-axis-label-position-in-two-row-Latice/m-p/957965#M25238</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2025-02-02T21:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: Y axis label position in two row Latice</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Y-axis-label-position-in-two-row-Latice/m-p/957972#M25239</link>
      <description>&lt;P&gt;Look at annotation to place text at arbitrary locations. Start here for some details: &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/v_057/grstatgraph/p0rgjcddtqwpyin1ro3kvrksd6js.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/v_057/grstatgraph/p0rgjcddtqwpyin1ro3kvrksd6js.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Without data and complete template code I wouldn't even make an attempt at some other work around as there are just too many moving parts with GTL to have a chance of getting a working alternative.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2025 00:56:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Y-axis-label-position-in-two-row-Latice/m-p/957972#M25239</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2025-02-03T00:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Y axis label position in two row Latice</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Y-axis-label-position-in-two-row-Latice/m-p/957975#M25240</link>
      <description>&lt;P&gt;John.King ,&lt;/P&gt;
&lt;P&gt;That would be better if you could post some data and your GTL code to test your problem.&lt;/P&gt;
&lt;P&gt;Here I make some dummy code to give you some help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;%sganno
data sganno;
 %SGTEXT(LABEL="Monophasic (11pts)",WIDTH=40,DRAWSPACE="LAYOUTPERCENT",&lt;STRONG&gt;ID="BAR"&lt;/STRONG&gt;,ROTATE=90,X1=15,Y1=30)
run;


proc template;
define statgraph y2axis;
begingraph;
layout lattice / rows=2 rowgutter=10
rowdatarange=union row2datarange=union;


layout overlay /  yaxisopts=( label=" " )  ;
histogram height / scale=count ;
histogram height / scale=percent;
densityplot height / normal();
&lt;STRONG&gt;annotate / id="BAR";&lt;/STRONG&gt;
endlayout;

layout overlay /  yaxisopts=( label=" " )  ;
scatterplot y=smoking_Status x=weight;
endlayout;

endlayout;
endgraph;
end;
proc sgrender data=sashelp.heart template=y2axis &lt;STRONG&gt;sganno=sganno;&lt;/STRONG&gt;
run;
&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1738549074745.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/104241iB1D0E1F7105C9660/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1738549074745.png" alt="Ksharp_0-1738549074745.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2025 02:18:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Y-axis-label-position-in-two-row-Latice/m-p/957975#M25240</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2025-02-03T02:18:00Z</dc:date>
    </item>
  </channel>
</rss>

