Reputation: 101
I have multiple theta
and rho
stored as matrices in variable out
. I want to plot all of them using polar
function in Matlab R2015b.
I'm new to Matlab and so far I did this :
subplot(1,3,1)
polar(out(1),out(2),'*')
subplot(1,3,2)
polar(out(3),out(4),'*')
subplot(1,3,3)
polar(out(5),out(6),'*')
I've two questions:
How can I combine them into a single polar plot, i.e one figure instead of three with '*'
position intact ?
How can I remove the lower part of polar plot so that I can have a semicircle instead of full plot? Is it possible to customize polar plot labels like removing the degree labels?
Upvotes: 0
Views: 159
Reputation: 4045
hold on
(and get rid of the subplots) orpolar(out(1:2:end),out(2:2:end),'*')
Use the ylim([-0.5 0])
command see this answer.
Upvotes: 3