<?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: Plot anotation inside with arrow text proc sg plot in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Plot-anotation-inside-with-arrow-text-proc-sg-plot/m-p/780016#M248488</link>
    <description>&lt;P&gt;TEXT plot. Add variable with the text and the location you want it to the data set.&lt;/P&gt;
&lt;P&gt;Or provide an annotate data set with that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PLEASE post code in a code box (the running man or &amp;lt;/&amp;gt; icon), not as a picture. First, your picture shows "code" that won't run as it clips the semicolon and we can't tell what else might be clipped from the image. Second if we need to suggest a minor change to code we can't copy/paste and edit the code. I am also not likely to retype code from an image.&lt;/P&gt;</description>
    <pubDate>Fri, 12 Nov 2021 17:32:01 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2021-11-12T17:32:01Z</dc:date>
    <item>
      <title>Plot anotation inside with arrow text proc sg plot</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Plot-anotation-inside-with-arrow-text-proc-sg-plot/m-p/780006#M248485</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just want know how to anotate graph (insert the text inside the label as per below).&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="raja777pharma_0-1636734315275.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/65645iD014C9BCC7A7C94E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="raja777pharma_0-1636734315275.png" alt="raja777pharma_0-1636734315275.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using below code.&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="raja777pharma_1-1636734314979.png" style="width: 830px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/65646iDBA0B7295C787C90/image-dimensions/830x119?v=v2" width="830" height="119" role="button" title="raja777pharma_1-1636734314979.png" alt="raja777pharma_1-1636734314979.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Rajasekhar&lt;/P&gt;</description>
      <pubDate>Fri, 12 Nov 2021 16:25:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Plot-anotation-inside-with-arrow-text-proc-sg-plot/m-p/780006#M248485</guid>
      <dc:creator>raja777pharma</dc:creator>
      <dc:date>2021-11-12T16:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: Plot anotation inside with arrow text proc sg plot</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Plot-anotation-inside-with-arrow-text-proc-sg-plot/m-p/780016#M248488</link>
      <description>&lt;P&gt;TEXT plot. Add variable with the text and the location you want it to the data set.&lt;/P&gt;
&lt;P&gt;Or provide an annotate data set with that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PLEASE post code in a code box (the running man or &amp;lt;/&amp;gt; icon), not as a picture. First, your picture shows "code" that won't run as it clips the semicolon and we can't tell what else might be clipped from the image. Second if we need to suggest a minor change to code we can't copy/paste and edit the code. I am also not likely to retype code from an image.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Nov 2021 17:32:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Plot-anotation-inside-with-arrow-text-proc-sg-plot/m-p/780016#M248488</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-11-12T17:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: Plot anotation inside with arrow text proc sg plot</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Plot-anotation-inside-with-arrow-text-proc-sg-plot/m-p/780222#M248583</link>
      <description>&lt;P&gt;The simplest way is using INSET statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc sgplot data=sashelp.heart; 
 scatter y=height x=weight/markerattrs=(symbol=circlefilled size=6) transparency=0.85;
    reg y=height x=weight / lineattrs=(thickness=4 color=red ) nomarkers; 
 yaxis grid  label="ylabel";
 xaxis label="xlabel";

 inset "           70% Subject" /position=west textattrs=(color=red size=20);
 inset "30% Subject           " /position=east textattrs=(color=red size=20);

run;&lt;/PRE&gt;</description>
      <pubDate>Mon, 15 Nov 2021 11:45:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Plot-anotation-inside-with-arrow-text-proc-sg-plot/m-p/780222#M248583</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-11-15T11:45:23Z</dc:date>
    </item>
  </channel>
</rss>

