<?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 plot &amp;quot;A&amp;quot; outside of the plotting area in base graphics? in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-quot-A-quot-outside-of-the-plotting-area-in-base/m-p/986871#M25899</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/*****************************/
%let label1=A(*ESC*){sup 'mw -1'}  ;
data _anno;
length label $ 200;
 drawspace="graphpercent"; function="text"; textweight="normal"; textsize=12;textcolor="black"; width=200;
 x1=5; y1=95;label="&amp;amp;label1."; output;
 run;
proc sgplot data=sashelp.class sganno=_anno;   
scatter x=weight y=height;   
xaxis label=' ';
yaxis label=' ';
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1777359202764.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/114486i9961B1FE3F19AF1B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1777359202764.png" alt="Ksharp_0-1777359202764.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Apr 2026 06:53:40 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2026-04-28T06:53:40Z</dc:date>
    <item>
      <title>How to plot "A" outside of the plotting area in base graphics?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-quot-A-quot-outside-of-the-plotting-area-in-base/m-p/986828#M25896</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sgplot data=lsmeans_cog_plot noautolegend;&lt;BR /&gt;styleattrs&lt;BR /&gt;datacolors=(steelblue darkorange forestgreen crimson)&lt;BR /&gt;datacontrastcolors=(steelblue darkorange forestgreen crimson);&lt;BR /&gt;band x=year lower=lower upper=upper /&lt;BR /&gt;group=group&lt;BR /&gt;transparency=0.7&lt;BR /&gt;name="band";&lt;BR /&gt;series x=year y=estimate /&lt;BR /&gt;group=group&lt;BR /&gt;markers&lt;BR /&gt;markerattrs=(symbol=circlefilled size=9)&lt;BR /&gt;lineattrs=(thickness=2.5)&lt;BR /&gt;name="line"&lt;BR /&gt;legendlabel=" ";&lt;BR /&gt;xaxis label="Year"&lt;BR /&gt;values=(2008 to 2020 by 2)&lt;BR /&gt;labelattrs=(size=12pt)&lt;BR /&gt;valueattrs=(size=11pt);&lt;BR /&gt;yaxis label="cognitive score"&lt;BR /&gt;labelattrs=(size=12pt)&lt;BR /&gt;valueattrs=(size=11pt);&lt;BR /&gt;keylegend "line" /&lt;BR /&gt;title="self-report hearing loss"&lt;BR /&gt;titleattrs=(size=11pt)&lt;BR /&gt;valueattrs=(size=10pt)&lt;BR /&gt;location=inside&lt;BR /&gt;position=bottomleft&lt;BR /&gt;noborder;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried using&lt;BR /&gt;&lt;CODE&gt;inset "A" / position=topleft textattrs=(size=16pt weight=bold) backcolor=white noborder;&lt;/CODE&gt;,&lt;BR /&gt;but this places the “A” inside the plotting area. I also tried&lt;BR /&gt;&lt;CODE&gt;title j=left h=16pt bold "A";&lt;/CODE&gt;,&lt;BR /&gt;which positions the “A” outside the graph entirely.&lt;/P&gt;&lt;P&gt;Ideally, I would like the panel label to appear —the “A” positioned just outside the plotting area but within the overall figure boundary (above yaxis label).&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2026 15:34:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-quot-A-quot-outside-of-the-plotting-area-in-base/m-p/986828#M25896</guid>
      <dc:creator>nancy6</dc:creator>
      <dc:date>2026-04-27T15:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot "A" outside of the plotting area in base graphics?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-quot-A-quot-outside-of-the-plotting-area-in-base/m-p/986831#M25897</link>
      <description>&lt;P&gt;I would think the &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/grstatproc/n0lprj1bdrlrkgn1vmqnd7r6fnry.htm" target="_self"&gt;TEXT command&lt;/A&gt; in PROC SGPLOT would work, that's what it was designed to do (but I have not tried it).&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2026 15:48:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-quot-A-quot-outside-of-the-plotting-area-in-base/m-p/986831#M25897</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2026-04-27T15:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot "A" outside of the plotting area in base graphics?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-quot-A-quot-outside-of-the-plotting-area-in-base/m-p/986834#M25898</link>
      <description>Titles normally go within the graph but outside the plot area. However, if you are using the NOGTITLE option on the ODS HTML statement, the the title will be pulled outside of the graph.</description>
      <pubDate>Mon, 27 Apr 2026 15:55:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-quot-A-quot-outside-of-the-plotting-area-in-base/m-p/986834#M25898</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2026-04-27T15:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot "A" outside of the plotting area in base graphics?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-quot-A-quot-outside-of-the-plotting-area-in-base/m-p/986871#M25899</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/*****************************/
%let label1=A(*ESC*){sup 'mw -1'}  ;
data _anno;
length label $ 200;
 drawspace="graphpercent"; function="text"; textweight="normal"; textsize=12;textcolor="black"; width=200;
 x1=5; y1=95;label="&amp;amp;label1."; output;
 run;
proc sgplot data=sashelp.class sganno=_anno;   
scatter x=weight y=height;   
xaxis label=' ';
yaxis label=' ';
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1777359202764.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/114486i9961B1FE3F19AF1B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1777359202764.png" alt="Ksharp_0-1777359202764.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2026 06:53:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-quot-A-quot-outside-of-the-plotting-area-in-base/m-p/986871#M25899</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2026-04-28T06:53:40Z</dc:date>
    </item>
  </channel>
</rss>

