www.gusucode.com > graphics 案例源码程序 matlab代码 > graphics/ModifyAppearanceOfHistogramChartExample.m
%% Modify Appearance of Histogram Chart % Create a histogram chart in polar coordinates, and then change its % appearance. Specify the bar colors by setting the |FaceColor| property to % a character vector of a color name, such as |'red'|, or an RGB triplet. % Specify the transparency by setting the |FaceAlpha| property to a value % between 0 and 1. theta = atan2(rand(100000,1)-0.5,2*(rand(100000,1)-0.5)); polarhistogram(theta,25,'FaceColor','red','FaceAlpha',.3);