How to remove extra labels from polarplot?
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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.![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1299475/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1299475/image.jpeg)
0 commentaires
Réponses (2)
VBBV
le 18 Fév 2023
Modifié(e) : VBBV
le 18 Fév 2023
ax = gca
ax.RTick = []
ax.RTickLabelRotation = 90;
After plotting call the axes and set the RTick property to [] and RTick rotation to 90 deg
Star Strider
le 18 Fév 2023
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.
.
0 commentaires
Voir également
Catégories
En savoir plus sur Polar Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!