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

    %% Create Angle Histogram 
% Create an angle histogram of values between 0 and $2\pi$.
% Distribute the data among 10 bins.

theta = [0.4 1.4 3.1 2.3 0.4 2.5 3.9 2.8 2.3 1.6 4.6 4.5 6.1 3.9 5.1];
rose(theta,10)