MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   坐标轴如如何截取? (https://www.labfans.com/bbs/showthread.php?t=6091)

inmorning 2008-12-30 20:59

坐标轴如如何截取?
 
请问高人:
画了一个图,y轴是到0-10的,如果让其只显示0-5的部分?!

1111111e 2009-01-03 03:26

回复: 坐标轴如如何截取?
 
对不起,我不知道啊!

snower1895 2009-01-03 22:07

回复: [求助]数字有效位数该如何改变?
 
[QUOTE=inmorning;22993]请问高人:
画了一个图,y轴是到0-10的,如果让其只显示0-5的部分?![/QUOTE]

sorry
我错了
应该是fplot(fun,[xmin,xmax,ymin,ymax])

snower1895 2009-01-03 22:26

回复: 坐标轴如如何截取?
 
也可以在plot命令后运行
axis([xmin,xmax,ymin,ymax])


所有时间均为北京时间。现在的时间是 11:27

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.