数据可视化
-
axis
-
grid on|off
-
pan on|off
-
zoom on|off|out|reset|xon|yon
-
datacursormode on|off -> 显示鼠标指向的坐标
-
line
-
texlabel:在Matlab中使用LaTeX
-
legend 的参数->hide, show, boxoff, boxon, off
-
colorbar('Location')->添加颜色条
-
text与gtext可以在图上添加标注, 但是gtext是交互式的, 可以通过鼠标点击的方式在指定位置显示字符串
-
pie, bar, barh(水平的), fill, errorbar, stem(火柴赶图), stairs, compass, comet函数绘图会显示动画,
-
图形句柄操作
- set(gcf, ...)
- get(gcf, ...)获取当前图形句柄
-
坐标轴句柄操作
- set(gca, ...)
- get(gca, ...)