<?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: PROC GPLOT and issue with annotate in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/PROC-GPLOT-and-issue-with-annotate/m-p/477982#M16504</link>
    <description>&lt;P&gt;With sas/graph annotate, once you reach a certain number of annotate 'errors' it ignores further annotate commands.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One way around this is to tell annotate to ignore the errors, and keep trying, by adding something like this to your annotate dataset...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data ignore_error;&lt;BR /&gt;function='seterror'; size=100000; output;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;data anno; set ignore_error anno;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 13 Jul 2018 18:16:56 GMT</pubDate>
    <dc:creator>GraphGuy</dc:creator>
    <dc:date>2018-07-13T18:16:56Z</dc:date>
    <item>
      <title>PROC GPLOT and issue with annotate</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-GPLOT-and-issue-with-annotate/m-p/476749#M16467</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm a newbiein the use of annotate function in PROC GPLOT.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I try to generate graphs where the annotate help me to visualize changes (symbolised by vertical bars)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the table I use to do to perform the annotate:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CaptureSAS1.JPG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/21687i3FB65C51F3B9115B/image-size/large?v=v2&amp;amp;px=999" role="button" title="CaptureSAS1.JPG" alt="CaptureSAS1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then, I draw two 2 graphs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the first one plotting coefficient by date_m and colored by Identifiant with the annotation which gives this result (works):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt; &lt;STRONG&gt;gplot&lt;/STRONG&gt; data=MaCouleur;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; plot Coefficient * Date_M = &lt;FONT color="#008000"&gt;Identifiant &lt;/FONT&gt;/ annotate= anno;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;;&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="CaptureSAS2.jpg" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/21689iC855A30A38AD0ABB/image-size/large?v=v2&amp;amp;px=999" role="button" title="CaptureSAS2.jpg" alt="CaptureSAS2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The 2nd graph is pretty much the same as we color by variable Couleur and not Identifiant&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt; &lt;STRONG&gt;gplot&lt;/STRONG&gt; data=MaCouleur;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; plot Coefficient * Date_M = &lt;FONT color="#ff0000"&gt;Couleurs&lt;/FONT&gt; / annotate= anno;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;;&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="CaptureSAS3.jpg" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/21690iF5B0EA12028C0ACD/image-size/large?v=v2&amp;amp;px=999" role="button" title="CaptureSAS3.jpg" alt="CaptureSAS3.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As you can see, the vertical bars are no more visible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Someone would have any idea from where this comes from?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the message I get from SAS log:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000"&gt;NOTE: ERROR DETECTED IN ANNOTATE= DATASET WORK.ANNO.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000"&gt;NOTE: PROBLEM IN OBSERVATION&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 -&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A CALCULATED COORDINATE LIES OUTSIDE THE VISIBLE AREA&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope my problem statement is clear enough to you. I suppose it is related to memory but I have no clue about how to be sure of it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jul 2018 11:43:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-GPLOT-and-issue-with-annotate/m-p/476749#M16467</guid>
      <dc:creator>CedricLVQ</dc:creator>
      <dc:date>2018-07-10T11:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GPLOT and issue with annotate</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-GPLOT-and-issue-with-annotate/m-p/476832#M16469</link>
      <description>&lt;P&gt;You can try something like this, and you will not have to use annotate:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data=sashelp.class;
scatter x=weight y=height / group=sex;
refline 70 95 120 / axis=x label="mylabel" labeloc=inside
                    lineattrs=(color=red pattern=dash);
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You can use individual REFLINE statements if you need unique labels per line.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jul 2018 14:33:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-GPLOT-and-issue-with-annotate/m-p/476832#M16469</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2018-07-10T14:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GPLOT and issue with annotate</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-GPLOT-and-issue-with-annotate/m-p/476999#M16479</link>
      <description>&lt;P&gt;Thank you Dan for this alternative.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If possible, we will try to stay with the PROC GPLOT option and the annotate since we are using it through a macro that generates several graphs automatically on a weekly basis.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone else has faced similar issues?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jul 2018 08:06:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-GPLOT-and-issue-with-annotate/m-p/476999#M16479</guid>
      <dc:creator>CedricLVQ</dc:creator>
      <dc:date>2018-07-11T08:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GPLOT and issue with annotate</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-GPLOT-and-issue-with-annotate/m-p/477982#M16504</link>
      <description>&lt;P&gt;With sas/graph annotate, once you reach a certain number of annotate 'errors' it ignores further annotate commands.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One way around this is to tell annotate to ignore the errors, and keep trying, by adding something like this to your annotate dataset...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data ignore_error;&lt;BR /&gt;function='seterror'; size=100000; output;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;data anno; set ignore_error anno;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jul 2018 18:16:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-GPLOT-and-issue-with-annotate/m-p/477982#M16504</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2018-07-13T18:16:56Z</dc:date>
    </item>
  </channel>
</rss>

