Fill in a Polar Scatter Plot

Is they a way to add a filled shape to a polarscatter plot?
Patch() and fill() both give me errors due to the polar axes.

回答 (1 件)

Star Strider
Star Strider 2020 年 10 月 20 日

0 投票

Do everything in Cartesian coordinates, although defining the coordinates in terms of r and θ. Then, use pol2cart to create them as Cartesian coordinates, and plot them, similar to the approach in How do I remove the border of a polarplot?

カテゴリ

ヘルプ センター および File ExchangePolar Plots についてさらに検索

タグ

質問済み:

2020 年 10 月 19 日

回答済み:

2020 年 10 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by