www.gusucode.com > graphics 案例源码程序 matlab代码 > graphics/PlotNegativeRadiusValuesExample.m
%% Plot Negative Radius Values % Create a polar plot using negative radius values. By default, |polarplot| % reflects negative values through the origin. theta = linspace(0,2*pi); rho = sin(theta); polarplot(theta,rho) %% % Change the limits of the _r_-axis so it ranges from -1 to 1. rlim([-1 1])