In MATLAB 2016b, is there a way to specify the range and number of grid lines in the polar plot?
2 ビュー (過去 30 日間)
古いコメントを表示
I currently have my code:
suptitle('All')
subplot(1,3,1)
polar(a,b,'-o')
hold on
polar(a,c,'-or')
title('XY Plane')
legend('a','b')
subplot(1,3,2)
polar(a,d,'-o')
hold on
polar(a,e,'-or')
title('XZ Plane')
subplot(1,3,3)
polar(a,f,'-o')
hold on
polar(a,g,'-or')
title('YZ Plane')
However, for some reason, the chart grid lines dont really match. I'd like to make them match. The radius of the circle , I would like to set at 300. And I would like 2 concentric circles inside, at 100 and 200. Can this be done? I attached the plot my current code puts out and you can see how the subplot axes don't match.
0 件のコメント
回答 (1 件)
Steven Lord
2017 年 1 月 10 日
Don't use polar, use polarplot instead. The parent of the polarplot will be a polaraxes and that has properties like ThetaTick and RTick as well as rulers like ThetaAxis and RAxis that give you even more control over customization.
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!