,现在还有一个问题,比如有6组数据,图例能否只显示其中的5组,另外一组不在图例中展示,底下的代码不对,还是全部显示proc gplot data = expout;
plot y*x ygs*x z*x o*x ygsa*x ygsb*x /haxis=axis1 vaxis=axis2 overlay noframe legend=legend1 hminor=0;
symbol1 i=none v=dot cv=red h=2.5 w=2;
symbol2 i=spline v=none l=1 h=2.5 w=2.5;
symbol3 i=none v=star cv=blue h=2.5 w=2;
symbol4 i=none v=plus cv=green h=2.5 w=2;
symbol5 i=spline v=none l=3 h=2.5 w=2.5;
symbol6 i=spline v=none l=2 h=2.5 w=2.5;
legend1 down=3 position=(top right inside) frame
label=(f=calibri h=1.5 "") value=(f=calibri "" "LO" "DO" "WO" "DO" "EE");
axis1 minor=(number=1) order=(20 to 120 by 20) label=(h=13pt f="calibri" "Body Weight (kg)") ;
axis2 minor=(number=1) order=(0 to 12000 by 2000) label=(h=13pt a=90 r=0 f=calibri "NE Intake (kcal/day)");
run;
quit;


雷达卡
京公网安备 11010802022788号







