olzlightning.blogg.se

Scatter plot matlab
Scatter plot matlab









scatter plot matlab

What is it that MATLAB does behind the scenes in the 'longer' routines to take so long? What are the advantages and disadvantages of using each method? Individual plotting using plot3: > tic hold on Individual plotting using scatter3: > tic hold on īulk plotting using plot3: > tic plot3(X, Y, Z, 'o') drawnow toc I closed all figures and cleared the workspace between each run to try to ensure fairness.īulk plotting using scatter3: > tic scatter3(X, Y, Z) drawnow toc I then used one of four different methods to plot this, to create a plot like so: I generate 10000 points in 3D space: X = rand(10000, 1)

scatter plot matlab

This is about how MATLAB can take very different times to plot the same thing - and why.











Scatter plot matlab