Procedure features: |
BUBBLE statement options:
|
BCOLOR |
|
BLABEL |
|
BSIZE |
|
HAXIS= |
|
VAXIS= |
|
VMINOR | |
|
Other features: |
GOPTIONS statement option:
|
AXIS statement |
|
Sample library member: |
GPLBUBL2
|
This example
modifies the code in Example 1. It shows
how BUBBLE statement options control the appearance of bubbles and their labels.
It also shows how AXIS statements can modify the plot axes.
|
goptions reset=all border; |
|
data jobs;
length eng $5;
input eng dollars num;
datalines;
Civil 27308 73273
Aero 29844 70192
Elec 22920 89382
Mech 32816 19601
Chem 28116 25541
Petro 18444 34833
; |
|
title1 "Member Profile";
title2 "Salaries and Number of Member Engineers"; |
|
axis1 label=none
offset=(5,5);
axis2 order=(0 to 40000 by 10000)
label=none; |
|
proc gplot data=jobs;
format dollars dollar9. num comma7.0;
bubble dollars*eng=num / haxis=axis1
vaxis=axis2
vminor=1
bcolor=darkred
blabel
bsize=3;
run;
quit; |
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.