Hi Rafael Array notation. After Reading your suggestion I looked at the documentation of polarplot and this is not explicitly treated, so I missed that one. Thank you.
Best regards, Claus On Sun, Jan 21, 2018 at 1:08 PM, Rafael Guerra <[email protected]> wrote: > Hi Claus, > > > > Regarding your problem of not being able to plot all curves in one go > preserving the scales, if I am not mistaken this can be solved by invoking > polarplot with a single call using array notation. > > See example here below with 2 curves for simplicity: > > > > *// START OF CODE* > > *clf* > > t = 0:0.01:2*%pi; > > t90 = %pi/2 - t; *//redefine angle-convention consistent with > loudspeaker plots* > > theta = t; *// keep Scilab angles for theta* > > rho1 = 1 + sin(t90).^2; *// use new angle mapping for rho1* > > rho2 = 1 + 2*cos(t90).^2; *// use new angle mapping for rho2* > > *polarplot*([theta,theta], [rho1,rho2]); > > a=*gca*(); > > set(a,'rotation_angles',[180,0]); *// rotate plot axes* > > *// END OF CODE* > > > > Regards, > > Rafael > > _______________________________________________ > users mailing list > [email protected] > http://lists.scilab.org/mailman/listinfo/users > >
_______________________________________________ users mailing list [email protected] http://lists.scilab.org/mailman/listinfo/users
