Fill in a Polar Scatter Plot

14 visualizzazioni (ultimi 30 giorni)
Piper Rose
Piper Rose il 19 Ott 2020
Risposto: Star Strider il 20 Ott 2020
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.

Risposte (1)

Star Strider
Star Strider il 20 Ott 2020
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?

Categorie

Scopri di più su Polar Plots in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by