MATLAB
XianruDu
这个作者很懒,什么都没留下…
展开
-
MATLAB 画图:对数坐标轴
plot(x,y)x 轴和y 轴均为线性刻度loglog(x,y)loglog(...) is the same as PLOT(...), except logarithmic scales are used for both the X- and Y- axes.x 轴和y 轴均为对数刻度semilogx(x,y) semilogx(...) is the原创 2012-10-01 09:37:30 · 20788 阅读 · 1 评论 -
MATLAB画图:改变坐标轴刻度的显示数值
改变坐标轴显示数值,可以用:set(gca,'xtick',xtick,'xticklabel',xticklabel) ;gca表示Get Current Axis的Handle,xtick表示显示刻度的位置,xticklabel表示显示的内容。Example: (from MATLAB Help)x = -pi:.1:pi;y = sin(x);plot(x,y)se原创 2012-10-07 09:52:16 · 157566 阅读 · 0 评论