x=0:pi/50:pi;
plot(x,sin(x)-0.5)
ylim([0 1])%限制大于0
谢谢!
51自学网 All Rights Reserved QQ:939804642 Email: cadweb@126.com 京ICP备05004759号