plot - how can i combine these 3 matlab graphs to a single one? -


hello have these 3 polar plots:

  • polar(a,(v1).^(-1),'-r')
  • polar(a,(v2).^(-1),'-g')
  • polar(a,(v3).^(-1),'-m')

where v1,v2,v3 matrices , how can combine these 3 graphs single 1 (not subplot , more copyobj)?

note: axes remain same in every graph.

thank you

you can use hold on other types of graphs.

example:

clear clc close  figure;  theta1 = 0:0.01:2*pi; rho1 = sin(2*theta1).*cos(2*theta1);  theta2 = 0:0.1:2*pi; rho2 = cos(2*theta2).*cos(2*theta2);  theta3 = 0:0.1:2*pi; rho3 = cos(2*theta2).*tan(2*theta2);  polar(theta1,rho1,'--r')  hold on  polar(theta2,rho2,'-b') polar(theta3,rho3,'-g') 

output:

enter image description here


Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -