plot(x,y)
使用hold on在一个图中包含两个情节
Plot Style: plot(x,y,'str')
向图形添加图例:legend()
title()
• xlabel()
• ylabel()
• zlabel()
练习:
Figure Adjustment :
Modifying Properties of An Object
1. Identifying the Handle of An Object
h = plot(x,y);
Fetching or Modifying Properties
• To fetch properties, use get()
• To modify properties, use set()
轴的字体和刻度设置:
set(gca, 'FontSize', 25);
Font——>symbol
Figure Position and Size
figure('Position', [left, bottom, width, height]);
只能对当前(current)对象进行下面操作:
Histogram:整体情况
Bar Charts:部分情况