www.gusucode.com > graphics 案例源码程序 matlab代码 > graphics/SpecifyMarkerSymbolExample.m
%% Specify Marker Symbol % Create vectors |x| and |y| as sine and cosine values with random noise. Then, % create a scatter plot and use diamond markers with an area of 140 points squared. theta = linspace(0,2*pi,150); x = sin(theta) + 0.75*rand(1,150); y = cos(theta) + 0.75*rand(1,150); sz = 140; scatter(x,y,sz,'d')