plot arrow in polarplot() (not cartesian axes)
Show older comments
I need help to draw an arrow to a polar plot (e.g. to indicate resultant vector).
I am using the new polarplot() function as opposed to the old polar() or polarhistogram() functions. Thus I cannot (to my knowledge) use functions like quiver because this would be plotted onto cartesian axes (the polarplot() function, unlike polar(), actually uses polar axes, and you can't mix up cartesian and polar child axes, as far as I know).
As far as I can see, possible solutions would be:
1. simulate an arrow by calculating and drawing an arrow shape from lots of little lines using the polarplot() function, or
2. somehow merging cartesian and polar children plots onto the same figure (if this is possible) to make use of older arrow functions (e.g. quiver or compass).
This post seeks any better suggestions, and/or solutions to the above.
Thanks!
N.B. The choice to use the polarplot() function was based on better control of axis appearance (which you don't seem to get with polar() function), and better control of histogram bar aesthetics (which you don't seem to get with polarhistogram() function...)
Accepted Answer
More Answers (0)
Categories
Find more on Polar Plots in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!