Sample 25593: Displaying annotate graphics using PROC GSLIDE
This sample is from the "SAS/GRAPH Software: Reference, Version 8", Volume 2, Chapter 27.
For additional information on the sample refer to this book.
/*+-------------------------------------------------------------+
| S A S S A M P L E L I B R A R Y |
| |
| NAME: GSLANNOT |
| TITLE: GSLANNOT-Displaying Annotate Graphics |
| PRODUCT: GRAPH |
| SYSTEM: ALL |
| KEYS: GRAPHICS GOPTIONS GSLIDE ANNOTATE |
| PROCS: GSLIDE |
| DATA: INTERNAL |
| |
| SUPPORT: GRAPHICS STAFF UPDATE: |
| REF: SAS/GRAPH REFERENCE GUIDE |
| MISC: |
| |
+-------------------------------------------------------------+*/
/* Set graphics environment */
goptions reset=all gunit=pct cback=white
colors=(black blue green red)
ftitle=swissb htitle=6 ftext=swiss htext=3;
/* Create Annotate data set */
data art;
length function color style $ 8;
input function $ x y color $ style $;
xsys='5'; ysys='5';
datalines;
poly 30 20 blue solid
polycont 50 20 . .
polycont 40 50 . .
poly 50 20 green x1
polycont 70 50 . .
polycont 60 50 . .
poly 40 50 red l1
polycont 60 50 . .
polycont 50 80 . .
;
/* Define titles and footnotes */
title 'Number 17';
footnote1 h=4 '"Art is anything you can get away with."';
footnote2 j=r h=4 'D. H. Benson ';
footnote3 j=r 'GSLANNOT ';
footnote4 h=3 angle=90;
footnote5 h=3 angle=-90;
/* Generate annotated slide */
proc gslide annotate=art
border
wframe=6
cframe=red;
run;
quit;

In this example, the GSLIDE procedure displays Annotate graphics along with current TITLE and FOOTNOTE definitions.
| Type: | Sample |
| Topic: | SAS Reference ==> Procedures ==> GSLIDE
|
| Date Modified: | 2005-09-22 03:03:12 |
| Date Created: | 2005-05-23 14:17:43 |
Operating System and Release Information
| SAS System | SAS/GRAPH | All | 8 TS M0 | n/a |