Wednesday, 12 October 2011

SAS - Gplot – further example

The following example shows more flexibility of the procedure

goptions reset=all;
proc gplot data=sashelp.Class;
symbol1 color = green i = join v= diamond line = 1 w=2 h=2;
symbol2 color = red i= join v= star line = 2 w=2 h=2;
plot Height*Weight=Sex/ hminor=0 legend=legend1;
legend1 down=1 position=(top center inside)
cshadow = blue frame value = (f=duplex)
ACROSS =1
label=(font=duplex h=1.5);
title f= zapf color=blue h =5pct 'Testing the graph';
run;

No comments:

Post a Comment