|
goptions reset=all;
proc gplot data=sashelp.air;
where year in (1949,1950,1951);
plot air*month=year/noframe hminor=0 vminor=0 vaxis=axis1 legend=legend1;
symbol1 i=join ci=red v=diamond l=1 h=1.5 pointlabel;
symbol2 i=join ci=green v=star l=2 h=1.5;
symbol3 i=join ci=yellow v=dot l=3 h=1.5;
axis1 label=(a=-90 font='@宋体' c=blue h=3pct '票价(千元)');
legend1 down=3 position=(top right inside)
cshadow=black frame value=(f=duplex)
label=(f='宋体' h=1.5 '年代');
title f='加粗' h=3pct '不同月份航空的票价';
run;
希望能帮助解决你的问题。
|