MATLAB Answers

How to use patch/fill on a polarplot

27 views (last 30 days)
Jakob Sievers
Jakob Sievers on 21 Mar 2019
Hi all
I can't seem to get this right, so I figure I better ask someone with more experience:
How do I use patch/fill to fill in a polygon in a polarplot setting?
Based on the example listed in the help for polarplot: How do I fill in this triangle with e.g. the color red?
t = 0 :pi/1.5: 2*pi;
pp=polarplot(t, sin(2*t).*cos(2*t), '--r');

  0 Comments

Sign in to comment.

Answers (0)

Products


Release

R2018b

Translated by