<?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 How to add one label or note to a specific point? in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/How-to-add-one-label-or-note-to-a-specific-point/m-p/20026#M474</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I generate the&amp;nbsp; codes below, how to mark the point (5, 25) on the figure with a label "this is one point"? Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data mydata;&lt;/P&gt;&lt;P&gt;do i=-10 to 10;&lt;/P&gt;&lt;P&gt;x=i;&lt;/P&gt;&lt;P&gt;y=i**2;&lt;/P&gt;&lt;P&gt;output;&lt;/P&gt;&lt;P&gt;end;&lt;/P&gt;&lt;P&gt;drop i;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;goptions reset=global;&lt;/P&gt;&lt;P&gt;symbol v=dot i=spline c=blue;&lt;/P&gt;&lt;P&gt;axis1 order=-10 to 10 by 5;&lt;/P&gt;&lt;P&gt;axis2 order=0 to 150 by 50;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc gplot data=mydata;&lt;/P&gt;&lt;P&gt;plot y*x/haxis=axis1 vaxis=axis2;&lt;/P&gt;&lt;P&gt;run; quit;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Mar 2012 11:12:16 GMT</pubDate>
    <dc:creator>TomiKong</dc:creator>
    <dc:date>2012-03-02T11:12:16Z</dc:date>
    <item>
      <title>How to add one label or note to a specific point?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-add-one-label-or-note-to-a-specific-point/m-p/20026#M474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I generate the&amp;nbsp; codes below, how to mark the point (5, 25) on the figure with a label "this is one point"? Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data mydata;&lt;/P&gt;&lt;P&gt;do i=-10 to 10;&lt;/P&gt;&lt;P&gt;x=i;&lt;/P&gt;&lt;P&gt;y=i**2;&lt;/P&gt;&lt;P&gt;output;&lt;/P&gt;&lt;P&gt;end;&lt;/P&gt;&lt;P&gt;drop i;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;goptions reset=global;&lt;/P&gt;&lt;P&gt;symbol v=dot i=spline c=blue;&lt;/P&gt;&lt;P&gt;axis1 order=-10 to 10 by 5;&lt;/P&gt;&lt;P&gt;axis2 order=0 to 150 by 50;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc gplot data=mydata;&lt;/P&gt;&lt;P&gt;plot y*x/haxis=axis1 vaxis=axis2;&lt;/P&gt;&lt;P&gt;run; quit;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2012 11:12:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-add-one-label-or-note-to-a-specific-point/m-p/20026#M474</guid>
      <dc:creator>TomiKong</dc:creator>
      <dc:date>2012-03-02T11:12:16Z</dc:date>
    </item>
    <item>
      <title>How to add one label or note to a specific point?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-add-one-label-or-note-to-a-specific-point/m-p/20027#M475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you're using a fairly recent version of SAS, and you're using a traditional SAS/Graph device (not java or activex), the easiest way to do this is with the "pointlabel" feature of the symbol statement...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data mydata;&lt;BR /&gt;do i=-10 to 10;&lt;BR /&gt;x=i;&lt;BR /&gt;y=i**2;&lt;BR /&gt;output;&lt;BR /&gt;end;&lt;BR /&gt;drop i;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data mydata; set mydata;&lt;BR /&gt;if x=5 and y=25 then &lt;STRONG&gt;mytext&lt;/STRONG&gt;="this is one point";&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;goptions reset=global;&lt;BR /&gt;symbol v=dot i=spline c=blue &lt;STRONG&gt;pointlabel=("#mytext");&lt;/STRONG&gt;&lt;BR /&gt;axis1 order=-10 to 10 by 5;&lt;BR /&gt;axis2 order=0 to 150 by 50;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc gplot data=mydata;&lt;BR /&gt;plot y*x/haxis=axis1 vaxis=axis2;&lt;BR /&gt;run; quit;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2012 13:11:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-add-one-label-or-note-to-a-specific-point/m-p/20027#M475</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2012-03-02T13:11:36Z</dc:date>
    </item>
    <item>
      <title>How to add one label or note to a specific point?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-add-one-label-or-note-to-a-specific-point/m-p/20028#M476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.But how to add&amp;nbsp; labels to two specific points?&amp;nbsp;&amp;nbsp; (5,25)&amp;nbsp; is labeled with "this is the lst point" and (8,64) is labeled with "this is the 2nd point".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2012 14:44:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-add-one-label-or-note-to-a-specific-point/m-p/20028#M476</guid>
      <dc:creator>TomiKong</dc:creator>
      <dc:date>2012-03-02T14:44:20Z</dc:date>
    </item>
    <item>
      <title>How to add one label or note to a specific point?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-add-one-label-or-note-to-a-specific-point/m-p/20029#M477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's all data-driven...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data mydata;&lt;BR /&gt;do i=-10 to 10;&lt;BR /&gt;x=i;&lt;BR /&gt;y=i**2;&lt;BR /&gt;output;&lt;BR /&gt;end;&lt;BR /&gt;drop i;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data mydata; set mydata;&lt;BR /&gt;&lt;STRONG&gt;if x=5 and y=25 then mytext="this is the 1st point";&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;if x=8 and y=64 then mytext="this is the 2nd point";&lt;/STRONG&gt;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;goptions reset=global;&lt;BR /&gt;symbol v=dot i=spline c=blue pointlabel=("#mytext");&lt;BR /&gt;axis1 order=-10 to 10 by 5;&lt;BR /&gt;axis2 order=0 to 150 by 50;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc gplot data=mydata;&lt;BR /&gt;plot y*x/haxis=axis1 vaxis=axis2;&lt;BR /&gt;run; quit;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2012 14:47:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-add-one-label-or-note-to-a-specific-point/m-p/20029#M477</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2012-03-02T14:47:17Z</dc:date>
    </item>
  </channel>
</rss>

