I am not able to add legends in polar plot. The syntax I am using is
polarplot(rad,d,style=[1,2,3,4,5,6,7],leg='7mm@17mm@27mm@37mm@47mm@57mm@67mm'); which is same as given in help.scilab.org polarplot(theta,rho,[style,strf,leg,rect]), but whereas if I convert it into catersian plot then plot the graph I am able to add legends but not in polar plot. Please help.
Can the polarscatter support plotting into Cartesian axes? I have been trying to complete a similar project. But I'm unable to perform draw graph legend action.
The following code demonstrates it is simple to add legends to polarplots.
t = 0:.01:2*%pi; clf polarplot([sin(7*t') sin(6*t')],[cos(8*t') cos(8*t')],[1,2]) legend(['var1';'var2']);
It is taken from help on polarplot, example 2.
Thanks for the code Rupak.