Sample 24912: Changing the width of the box
/*******************************************************/
/* This sample uses the BWIDTH= option on the SYMBOL */
/* statement to specify the width of the box in a box */
/* plot or the width of the bar in hilob plots. It is */
/* only valid with the BOX or HILOB interpolations. */
/*******************************************************/
goptions reset=all ftext=centb;
/* Create a data set for plotting */
data a;
input YEAR CNT;
datalines;
1995 10
1995 40
1995 28
1995 47
1996 13
1996 25
1996 30
1996 20
1997 22
1997 60
1997 55
1997 40
1998 60
1998 43
1998 78
1998 69
1999 50
1999 31
1999 67
1999 24
;
/* Use the BWIDTH= option to specify the width of the box */
symbol1 i=boxft bwidth=4 width=2 cv=red co=blue;
axis1 minor=none offset=(0,0);
axis2 minor=none offset=(4,4);
title 'Changing the width of the box';
proc gplot data=a;
plot CNT*YEAR / vaxis=axis1 haxis=axis2 noframe autovref;
run;
quit;

This sample uses the BWIDTH= option on the SYMBOL statement to specify the width of the box in a BOX plot or the width of the bar in HILOB plots.
| Type: | Sample |
| Topic: | SAS Reference ==> Procedures ==> GPLOT Query and Reporting ==> Creating Reports ==> Graphical ==> Graph Elements ==> Symbols/Interpolation
|
| Date Modified: | 2005-08-31 03:03:12 |
| Date Created: | 2004-11-11 11:07:59 |
Operating System and Release Information
| SAS System | SAS/GRAPH | All | n/a | n/a |