| Features: |
PROC GANNO statement option NAME= |
| Sample library member: | GANMULTI |
BLUE,
GRAY, GREEN, and RED. Note that
the output for GRAY includes the footnote
shown in Storing Annotate Graphics. The output for RED shows the
frame that is generated by the Annotate data set. The black borders
in the other outputs are not generated by the code.
goptions reset=all border;
data squares; length function style color $ 8 text $ 15; xsys="3"; ysys="3";
color="green"; function="move"; x=10; y=65; output; function="bar"; x=30; y=95; style="solid"; output;
function="label"; x=10; y=63; position="6";
style="swissb"; size=2; text="Green"; output;
color="red";
function="move"; x=60; y=65; output;
function="bar"; x=80; y=95; output;
function="label"; x=60; y=63; position="6";
style="swissb"; size=2; text="Red"; output;
color="blue";
function="move"; x=10; y=15; output;
function="bar"; x=30; y=45; output;
function="label"; x=10; y=12; position="6";
style="swissb"; size=2; text="Blue"; output;
color="gray";
function="move"; x=60; y=15; output;
function="bar"; x=80; y=45; output;
function="label"; x=60; y=12; position="6";
style="swissb"; size=2; text="Gray"; output;
x=88; y=5; position="5"; size=1.5; style="swiss";
text="GANSQUAR"; output;
function="frame"; color="red"; when="b";
style="empty"; output;
run;
proc ganno annotate=squares
name=color
gout=excat
description="Individual squares";
run;color="green"; function="move"; x=10; y=65; output; function="bar"; x=30; y=95; style="solid"; output;
color="red";
function="move"; x=60; y=65; output;
function="bar"; x=80; y=95; output;
function="label"; x=60; y=63; position="6";
style="swissb"; size=2; text="Red"; output; color="blue";
function="move"; x=10; y=15; output;
function="bar"; x=30; y=45; output;
function="label"; x=10; y=12; position="6";
style="swissb"; size=2; text="Blue"; output; color="gray";
function="move"; x=60; y=15; output;
function="bar"; x=80; y=45; output;
function="label"; x=60; y=12; position="6";
style="swissb"; size=2; text="Gray"; output;