MATLAB Answers

Fill in a Polar Scatter Plot

7 views (last 30 days)
Piper Rose
Piper Rose on 19 Oct 2020
Answered: Star Strider on 20 Oct 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.

  0 Comments

Sign in to comment.

Answers (1)

Star Strider
Star Strider on 20 Oct 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?

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!