[Scilab-users] Polarplot help
Rafael Guerra
jrafaelbguerra at hotmail.com
Sun Jan 21 12:55:43 CET 2018
Hi Claus,
For the angles orientation problem in polar plot and correct labelling, here below a simple solution:
// 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
rho = -1 + sin(t90); // use new angle mapping for rho
polarplot(theta, rho);
a=gca();
set(a,'rotation_angles',[180,0]); // rotate plot axes
// END OF CODE
Regards,
Rafael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20180121/5fea1f74/attachment.htm>
More information about the users
mailing list