run;
goptions hsize=3in vsize=3in dev=png;
pattern color="#a78d84";
proc gchart data=sashelp.class;
vbar age / name='pptall0'
ctext="#fba16c"
coutline="red";
run;
quit;
ods powerpoint close;
RTF Output
Proc Format;
Value Govtfmt -3='Council Manager'
0='Commission'
3='Mayor Council'
.N='Not Applicable'
.=' ?';
Value Robfmt 1='100 or Less'
2='101-200'
3='201-300'
4='Over 300'
.N='Not Known'
.=' ?';
Value Colfg 1='yellow'
2='red'
3='blue'
4='purple'
.N='green'
.='black'
other='black';
Value Rowfg -3='red'
0='purple'
3='blue'
.N='green'
.='black'
other='black';
run;
data gov;
Label Citygovt='City Government Form'
Robgrp='Number of Meetings Scheduled';
Input Citygovt Robgrp Weight; Missing N;
Format Citygovt Govtfmt. Robgrp Robfmt.;
LOOP: OUTPUT; WEIGHT=WEIGHT-1; IF WEIGHT>0 THEN GOTO LOOP;
DROP WEIGHT;
datalines;
0 1 6
0 3 3
0 2 7
Examples from the Gallery of ODS Samples 1063
Get SAS 9.4 Output Delivery System, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.