|
5#

楼主 |
发表于 2011-3-18 21:51:05
|
只看该作者
Re: 菜鸟求助~~一个作图的问题
‘投机’有些难听了。我也是利用sas提供的正规的选项啊。而且我觉得你说得也不完全对。因为有了新版本,所以对gplot也就很少用了。利用pointlabel举例如下:
[code:2055mjhy]goptions reset=all cback=white border htitle=12pt htext=10pt;
data a; input MONTH SALES@@;
if mod(month, 2) then label_mon_sales =catx(':', month, sales); **marks odds month's sales;
datalines;
1 52 2 16 3 78 4 14 5 26 6 31 7 92 8 19 9 18 10 22 11 84 12 93
;
symbol1 interpol=join value=dot color=vibg height=1.3 pointlabel=(height=10pt '#label_mon_sales');
title1; axis1 offset=(4,4) minor=none; axis2 offset=(2,2) minor=none;
proc gplot data=a; plot sales*month / haxis=axis1 vaxis=axis2 noframe; run; quit;
**from 24930;[/code:2055mjhy] |
|