scatterScatter plot
scatter(x, y)x and y are vectors that contain the x or y is complex, only the real parts will be used.scatter(x, y, c1, ..., cM)c1, ..., cM should be either one of the following:
'filled' or a valid line specification string. When it is equal to 'filled', the marker will be filled using the marker edge color.Note that cj can overwrite ci if j > i. For example, in scatter(x, y, s, [1, 0, 0], 'g'), 'g' overwrites the color setting [1, 0, 0].
scatter(x, y, c1, ..., cM, Name1, Value1, ..., NameN, ValueN)scatter(x, y, c1, ..., cM) with additional input arguments that specify the values of various attributes.Name1, ..., NameN and their associated values are specified by Value1, ..., ValueN, respectively.x = randn(1,100);
y = randn(1,100);
% Marker size of 6.0 and RGB values of 0,0,1.
scatter(x,y,6.0,[0 0 1])