Fill in a Polar Scatter Plot

14 ビュー (過去 30 日間)
Piper Rose
Piper Rose 2020 年 10 月 19 日
回答済み: Star Strider 2020 年 10 月 20 日
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 日
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?

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by