[Scilab-users] How to find the number of polylines automatically

Jens Simon Strom j.s.strom at hslmg.de
Mon May 2 19:21:35 CEST 2016


Hello,
You didn't miss anything. I did: I tried /size/ but I did not try 
/length/ although it is so self-evident.
Solved. Thanks a lot!
Jens
----------------------------------------------------------------------
Am 02.05.2016 18:51, schrieb sgougeon at free.fr:
> Hello,
>
>> De: "Jens"
>> Hi,
>> By the line
>>
>> for i=1:n; ca.children(i).children.foreground=5; end
>>
>> one can change all level lines of a 2D contour plot to red. But how can the
>> script find n (without manual trial and error)?
>
> With
> length(ca.children)
> ?
> I may miss something...
>
> Samuel
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20160502/3f3ccedc/attachment.htm>


More information about the users mailing list