I would like to plot two curves in the same polarplot (or aný circel diagram) but on two different axis, in similar way yyaxis works for an ordinary plot.
Example of my code below. One curve (blue) on r-axis with blue labels. I would like an r-axis with red labels along another r-axis angle for the red curve.
Thanks in advance /Julia
Example code:
t = 0 : 2*pi/177 : 2*pi;a=linspace(0.3,0.5,178);m=linspace(0.4,0.6,178);figure(3)ax = polaraxes;hold onpolarplot(ax,t,a,'-b')polarplot(ax,t,m,'-r')ax.RColor ='blue';ax.ThetaDir = 'counterclockwise';ax.ThetaZeroLocation = 'bottom';thetaticks([0:30:360])thetaticklabels({'180','150','120','90','60','30','0','330','300','270','240','210'})
Best Answer