You are here: Fearntech » SAS »

Using ANNOTATE to add text to a plot in SAS/GRAPH

Using ANNOTATE to add text to a plot in SAS/GRAPH

Using ANNOTATE to add text to a plot in SAS/GRAPH

An example which creates an annotate dataset with a text label to be displayed in a plot, using GPLOT in SAS/GRAPH

* Adds text TEXT HERE at data point 23 on x-axis, 100% *;
* position on y-axis *;

data annot;
length function $8;
x=23;
function='LABEL'; text='TEXT HERE'; color='LIGR';
position='2'; xsys='2'; ysys='1'; y=100; size=1.5;
output;
run;

proc gplot....
plot ... / annotate=annot;
run;
quit;

Discussion

Leave the First Comment Here