How to remove extra labels from polarplot?

Hello
How do i remove the 0.2,0.4 etc labels in this polarplot? Also, I want to rotate the plot so that 90 degrees point is where the zero degree is right. now.

Antworten (2)

VBBV
VBBV am 18 Feb. 2023
Bearbeitet: VBBV am 18 Feb. 2023

0 Stimmen

ax = gca
ax.RTick = []
ax.RTickLabelRotation = 90;
After plotting call the axes and set the RTick property to [] and RTick rotation to 90 deg

1 Kommentar

VBBV
VBBV am 18 Feb. 2023
Bearbeitet: VBBV am 18 Feb. 2023
thetaticks([0 90 180 270]);
thetaticklabels({'90','180','270','0'})
Sorry, to rotate the angles around polarplot, use thetaticks and thetaticklables

Melden Sie sich an, um zu kommentieren.

Star Strider
Star Strider am 18 Feb. 2023
See PolarAxes Properties for all the options.
th = rand(1,5)*2*pi;
r = rand(size(th));
figure
polarplot(th,r)
Ax = gca;
Ax.ThetaZeroLocation = 'bottom'; % Rotate 'Theta' Grid
Ax.ThetaDir = 'clockwise'; % Optional
Ax.RTickLabel = [];
Make appropriate changes to get the result you want.
.

Kategorien

Mehr zu Polar Plots finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2022b

Gefragt:

am 18 Feb. 2023

Beantwortet:

am 18 Feb. 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by