Graphics
Library
MATLAB 有强大的图形 GUI, 可以方便的进行 title, lables, legend, axis 的添加, 删减, 修改性质, 参数等操作. 这些操作当然也可以直接通过函数指令来完成.
图形分类
- Matlab Graphics - Line Plots
- Matlab Graphics - Scatter Plots
- Matlab Graphics - 3D Plots
- Bar graph
- Stairstep graph
其他要素
Title, Axis Labels and Legend
用以下函数对现有图标加上标题, 坐标轴标签和图示
- title
- xlable
- ylable
- zlable
- legend
以上函数都接受 char 类参数, 并且可编译 语言. legend 还接受 cell array of char vectors.
添加参数对
'Intepreter', 'latex'来编译
Useful Tips
- Use
exportgraphicsto export graphs.