📄 dotplot.m
字号:
function dotplot(p,fmt)%function dotplot(p,fmt)%Plot dots with format fmtif nargin < 2 fmt = '.';endif size(p,1) == 2 plot( p(1,:), p(2,:), fmt);elseif size(p,1) == 3 subplot(221); plot(p(1,:),p(2,:),fmt); subplot(222); plot3(p(1,:),p(2,:),p(3,:),fmt); subplot(224); plot(p(1,:),p(3,:),fmt); subplot(223); plot(p(2,:),p(3,:),fmt);elseif size(p,1) == 4 subplot(221); plot3(p(1,:),p(2,:),p(3,:),fmt); subplot(222); plot3(p(1,:),p(2,:),p(4,:),fmt); subplot(223); plot3(p(1,:),p(3,:),p(4,:),fmt); subplot(224); plot3(p(2,:),p(3,:),p(4,:),fmt);end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -