matlab基础绘图知识

axis([xmin xmax ymin ymax])   %设置坐标轴的最小最大值

xlabel('string')                             %标记横坐标

ylabel('string')                             %标记纵坐标

title('string')                             %添加标题

text('x,y,string' )                             %在图形的任意位置增加说明性文本信息

gtext('string')                                     %利用鼠标添加说明性文本信息

grid on                                            %给当前图形标记添加网格

grid off                                            %给当前图形标记取消网格

猜你喜欢

转载自www.cnblogs.com/zzm1/p/9700698.html