How to remove extra labels from polarplot?
5 次查看(过去 30 天)
显示 更早的评论
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.

0 个评论
回答(2 个)
VBBV
2023-2-18
编辑:VBBV
2023-2-18
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
2023-2-18
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Polar Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!