Is it possible to make the background of a polar histogram transparent?

14 ビュー (過去 30 日間)
John R
John R 2021 年 11 月 23 日
編集済み: Ive J 2021 年 11 月 23 日
I would like to make the background of a polar histogram transparent to where I can save an image that only shows the grid lines, text, and bins. It does not seem possible with any of the polar axes properties or with exportgraphics. Thank you for any advice.

採用された回答

Ive J
Ive J 2021 年 11 月 23 日
編集済み: Ive J 2021 年 11 月 23 日
One way that comes to my mind is to save it as eps (or pdf):
set(gcf, 'color', 'none');
set(gca, 'color', 'none');
exportgraphics(gcf, "pic.eps", 'BackgroundColor', 'none', 'ContentType', 'vector') % can also be .pdf

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by