MATLAB: Compass axis labels MATLABplotplotting Hi, Anyone know a way to change the default axis labels in a compass plot from the default (0,30,60,90,120,150,180…) to user-defined ones (90,60,30,0,-30,-60,-90) respectively? I can't seem to figure out how to get at them! Best Answer How to change the axis limits and remove/alter the ticks and labels for a COMPASS/POLAR plot? Related SolutionsMATLAB: Polarplot with negative theta display You can plot it by tuning axes properties, like:% Sample datatheta = deg2rad(-150:30:180);rho = 10*rand(size(theta));% Polar plot with [-180 180] degreepolarplot(theta,rho)ax = gca;ax.ThetaLim = [-180 180];ax.ThetaZeroLocation = 'top';ax.ThetaDir = 'clockwise'; MATLAB: Compass plot amp = [1.0448,0.365,0.0712,0.0622,0.1027]; pha = [77.16,105.75,61.67,320.84,101.95]; rdir = pha * pi/180; [x,y] = pol2cart(rdir,amp);compass(x,y)view([-90 90]) Related QuestionHow to set x-axis labels under certain tick marksUrgent! …..Compass plotHow to change the values on the axis of a graphHow to replace and interchange values
Best Answer