| Language Reference |
produces scatter plots
x
is the default character for labeling the points.
The following statements specify a plotting symbol, axis labels, and a title to produce the plot shown.
xy={1 2, 3 3, 5 4, 6 2};
call pgraf(xy,'*','X','Y','Plot of X vs Y');
Plot of X vs Y
|
4 + *
|
|
|
Y |
3 + *
|
|
|
|
2 + * *
--+------+------+------+------+------+-
1.0 2.0 3.0 4.0 5.0 6.0
X
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.