Show tick marks/grid/axes on top of plot

26 ビュー (過去 30 日間)
Dennis Premoli
Dennis Premoli 2022 年 5 月 6 日
回答済み: Voss 2022 年 5 月 6 日
Hi everyone,
I'm currently plotting a polarscatter plot with a LOT of data on it. Therefore, the data obscures the entirety of the y-axis and the grid. Is there any way to force the axes on top of the graph, or even just the y axis labels and grid?

採用された回答

Voss
Voss 2022 年 5 月 6 日
Here's a start, maybe. You can find other PolarAxes properties you might need to tweak, and fine-tune them similarly.
polarscatter(2*pi*rand(10000,1),rand(10000,1));
set(gca(), ...
'Layer','top', ...
'LineWidth',2, ...
'FontWeight','bold', ...
'GridAlpha',1, ...
'MinorGridAlpha',1, ...
'RColor',[0 0 0], ...
'ThetaColor',[0 0 0]);

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeScatter Plots についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by