change width and color of a compass plot
Show older comments
I have a compass plot (attached) and I want to cnage the line width, color, and type using code not manually. Any help would be greatly appreciated.
Thanks

Accepted Answer
More Answers (1)
Adam Danz
on 11 Apr 2019
Use the handle output from the plotting function.
Example:
h = polarplot(theta,rho);
h.LineWidth = 3;
h.Color = 'r';
Categories
Find more on Polar Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!