test_display_pointsets.m

来自「toolbox_dimreduc - a toolbox for dimensi」· M 代码 · 共 17 行

M
17
字号
% load and display all point sets

% '3d_cluster'
names = {'swissroll','square','scurve','puncted_sphere','twin_peaks','toroidal_helix','gaussian', '3d_cluster'};
options.sampling = 'rand';

a = 3;
b = 3;
n = 400;

clf;
for i=1:min(a*b,length(names))
    subplot(a,b,i);
    [X,col] = load_points_set( names{i}, n, options );
    plot_scattered(X,col);
    axis off;
end

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?