[Scilab-users] Same color for contour isolines
Jens Simon Strom
j.s.strom at hslmg.de
Thu Mar 16 11:32:04 CET 2017
Hi,
How would you avoid the loop in the following example?
n2_=-1000:200:1000;
nS_=-1000:200:1000;
[N2,NS]=ndgrid(n2_,nS_);
N1=2.6*N2+(3.6)*NS;
xdel();
contour(n2_,nS_,N1/100,[-60:10:60])
ca=gca(); Comp=ca.children; //colum matrix of handles: (Compound)
nComp=length(Comp);
for k=1:nComp
Comp(k).children.foreground=3;
end
Regards
Jens
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20170316/0f92e066/attachment.htm>
More information about the users
mailing list