人大潜龙 发表于 2010-1-27 14:21 
求助:如何用SAS画一条y=3的直线?
请哪位大侠指导一下。
谢谢。
You may use href=3.1415 vref=3 to draw a reference line as below.
Hope this is what you need.
data t1;
do x = 0 to 8 by 0.01;
y=3+sin(x);
output;
end;
run;
proc gplot data=t1;
plot y*x/href=3.1415 vref=3;
run;
quit;