0
Legends for Polar Plot

Hello,

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.


Scilab 04-09-19, 10:17 a.m. SharathDinesh
0

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.

Rupak

26-12-19, 12:12 p.m. rupakrokade


0

Thanks for the code Rupak.

porno - videos hentai - webcam porno - free chat

29-04-20, 9:36 p.m. tocnaza


Log-in to answer to this question.