www.gusucode.com > graphics 案例源码程序 matlab代码 > graphics/ModifyAppearanceOfHistogramChartAfterCreationExample.m
%% Modify Appearance of Histogram Chart After Creation % Create a histogram chart in polar coordinates. Assign the histogram % object to the variable |h|. theta = atan2(rand(100000,1)-0.5,2*(rand(100000,1)-0.5)); h = polarhistogram(theta,25) %% % Use |h| to access and modify properties of the histogram object after it % is created. For example, show just the histogram outline by setting the % |DisplayStyle| property of the histogram object. h.DisplayStyle = 'stairs';