📄 scplot.m
字号:
function scplot(varargin)% scplot Scatter plot.% scplot(X,...) displays colored circles at the locations specified% by the 2xn-matrices X or 3xn-matrices%% See also SCATTER, SCATTER3, PLOT, PLOTMATRIX.col='bgrcmykbgrcmykbgrcmykbgrcmykbgrcmykbgrcmyk';for i=1:nargin X=varargin{i}; [n nsamples] = size(X); if (n < 3) plot(X(1,:),X(2,:),[col(i),'o']); else plot3(X(1,:),X(2,:),X(3,:),[col(i),'o']); end hold on;end hold off; return
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -