www.gusucode.com > graphics 案例源码程序 matlab代码 > graphics/SpecifyMarkerTypeandColorExample.m

    %% Specify Marker Type and Color   

% Copyright 2015 The MathWorks, Inc.


%% 
% Create a scatter plot matrix of random data. Specify the marker type and
% the color for the scatter plots.
X = randn(50,3);  
plotmatrix(X,'*r')    

%%
% The |LineSpec| option sets properties for the scatter plots. To set
% properties for the histogram plots, return the histogram objects.