Then the following 'if' clause might be preferable, especially if you have many 
properties to change:

if size(X,2)==1 then
    X = [X X];
    Y = [Y Y];
    Z = [Z Z];
end
param3d1(X,Y,Z);
gce().children.polyline_style=4;
gce().children.thickness=2;
gce().children.foreground=32;
etc...

Regards,
Rafael

-----Original Message-----
From: users <users-boun...@lists.scilab.org> On Behalf Of Izabela Wójcik-Grzaba
Sent: Thursday, July 19, 2018 12:00 PM
To: Users mailing list for Scilab <users@lists.scilab.org>
Subject: Re: [Scilab-users] Changing polyline properties in param3d1

Thank you for your answer, but here all the polylines have the same properties. 
The problem is when there is only one polyline because the levels structure of 
figure properties are different then in the case of multiple polylines.
But, as there is no other idea, I will stick with my "if" clause :-)

Iza

_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users

Reply via email to