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

    %% Specify Nonuniform _r_-Axis Tick Values
% Display tick marks and grid lines along the _r_-axis at nonuniform values
% between 0 and 10. MATLAB(R) labels the tick marks with the numeric values.


theta = 0:0.01:2*pi;
rho = 10*sin(2*theta);
polarplot(theta,rho)
rticks([0 4 5 6 10])