我试图在针图中绘制不同水平的工资,我想要一条参考线。下面的代码提供了这条参考线,但是这条线和针的颜色一样,而且太细了。有没有办法改变这个?
SYMBOL1
INTERPOL=NEEDLE
HEIGHT=10pt
VALUE=NONE
LINE=1
WIDTH=2
CV = _STYLE_
;
Axis1
STYLE=1
WIDTH=1
MINOR=NONE
REFLABEL=(j=c color = red width = 5 '');
;
Axis2
STYLE=1
WIDTH=1
MINOR=NONE
;
TITLE;
TITLE1 "Bootstrap: Needle Plot of log salary";
PROC GPLOT
DATA = sashelp.baseball
;
PLOT logsalary * name /
VAXIS = AXIS1
HAXIS = AXIS2
VREF = 4
;
RUN; QUIT;