SAS中文论坛

标题: how to draw a line in the plot [打印本页]

作者: shiyiming    时间: 2009-7-30 02:21
标题: how to draw a line in the plot
I use

proc gplot;
plot a*b/overlay;
run;



Now I have  a question. I want to put a horizontal line in vaxis, is there any statement which can make it?
作者: shiyiming    时间: 2009-7-30 04:39
标题: Re: how to draw a line in the plot
data xy;
input a b;
cards;
1 2
2 3
3 4
;
run;
symbol1 i=j;
axis1 order=(0 to 5);
proc gplot data=xy;
    plot a*b/vref=2 vaxis=axis1;
run;




欢迎光临 SAS中文论坛 (https://mysas.net/forum/) Powered by Discuz! X3.2