BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Natalie
Calcite | Level 5

Hi everyone,

I’m currently trying out the annotation functionality in SG graphics and was wondering, if there are annotation macros available similar to
SAS/GRAPH and %ANNOMAC?

In the online documentation describing how to build the annotation dataset, I couldn’t find any reference to %ANNOMAC. And currenlty typing all settings manually:

DATA annods;

function="ARROW";drawspace="datavalue";x1=140;  x2=148;y1=68; y2=71;LINECOLOR="red"; OUTPUT;

function="TEXT";  drawspace="datavalue";x1=140;  x2=.;   y1=67;y2=.;  TEXTCOLOR="red"; TEXTWEIGHT="BOLD"; LABEL="outlier";OUTPUT;

RUN;

Thank you very much in advance,

Natalie

1 ACCEPTED SOLUTION

Accepted Solutions
Jay54
Meteorite | Level 14

Yes, %sganno macro is will be released with SAS 9.4M1.  This macro will also run with SAS 9.3 SGPLOT.  If you want to try it, we can make it available.  Note, thsi is different from the %annomac, but works the same way.

View solution in original post

3 REPLIES 3
Jay54
Meteorite | Level 14

Yes, %sganno macro is will be released with SAS 9.4M1.  This macro will also run with SAS 9.3 SGPLOT.  If you want to try it, we can make it available.  Note, thsi is different from the %annomac, but works the same way.

Natalie
Calcite | Level 5

Dear Sunjay,

thank you very much for the quick reply.

It’s great, that similar annotation macro functionality will be provided for SG Graphics in SAS 9.4.

I’ll clarify the need for the annotation macros whithin my team and get back to you.

Natalie

P.S. By the way, your book on SG Graphics is excellent Smiley Happy

BenthamLEE
Calcite | Level 5

I am not so familar with the annotation functionality in SG graphics, I ususally get some free tiral image annotation version to help my document image reading and processing developing. And within my document image reading library, annotation tool can be implemented with document and image managing system to add and draw more than 10 kinds of annotatiob objects to pdf, tiff, word, excel, jpeg, bmp, gif as well as png files with simple methods and prorgamming codes.

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1627 views
  • 0 likes
  • 3 in conversation