www.gusucode.com > stats 源码程序 matlab案例代码 > stats/BinnedScatterPlotOfNormallyDistributedRandomDataExample.m

    %% Binned Scatter Plot of Normally-Distributed Random Data
% Create two tall vectors of random data. Create a binned scatter plot for
% the data.
X = tall(randn(1e5,1));
Y = tall(randn(1e5,1));
binScatterPlot(X,Y)

%%
% The resulting figure contains a slider to adjust the level of detail in
% the image.