[Scilab-users] Changing polyline properties in param3d1

2018-07-18 Thread Izabela Wójcik-Grząba
Hello, I am looking for an elegant and simple way to manage with changing properties of polylines in a param3d1 plot. The problem is that sometimes (in case of specific data) there is only one polyline to draw but in most cases there are many polylines. By now I solved this problem by using "

Re: [Scilab-users] Changing polyline properties in param3d1

2018-07-18 Thread Rafael Guerra
Hello, I do not know the answer. On the other hand, as usually one wants to differentiate the different curves, could you predefine a number of curve properties (ps, th, fr, arrays below) and loop thru each curve? N = size(X,2); for i = 1:N param3d1(X(:,i),Y(:,i),Z(:,i)); gce().polylin

Re: [Scilab-users] Changing polyline properties in param3d1

2018-07-19 Thread Izabela Wójcik-Grząba
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

Re: [Scilab-users] Changing polyline properties in param3d1

2018-07-19 Thread Rafael Guerra
. Regards, Rafael -Original Message- From: users On Behalf Of Izabela Wójcik-Grzaba Sent: Thursday, July 19, 2018 12:00 PM To: Users mailing list for Scilab Subject: Re: [Scilab-users] Changing polyline properties in param3d1 Thank you for your answer, but here all the polylines hav

Re: [Scilab-users] Changing polyline properties in param3d1

2018-07-19 Thread Izabela Wójcik-Grząba
ab 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

Re: [Scilab-users] Changing polyline properties in param3d1

2018-07-19 Thread Samuel Gougeon
Le 18/07/2018 à 15:19, Izabela Wójcik-Grząba a écrit : Hello, I am looking for an elegant and simple way to manage with changing properties of polylines in a param3d1 plot. The problem is that sometimes (in case of specific data) there is only one polyline to draw but in most cases there are

Re: [Scilab-users] Changing polyline properties in param3d1

2018-07-19 Thread Samuel Gougeon
Le 19/07/2018 à 21:30, Samuel Gougeon a écrit : .../... param3d1(X,Y,Z); c = gce(); if size(X,"c")>1, c = c.children; end c.polyline_style = 4; c.thickness = 2; c.foreground = 32; The last 3 lines should be replaceable with simply set(c, "polyline_style", 4, "thickness", 2, "foreground", 32);

Re: [Scilab-users] Changing polyline properties in param3d1

2018-07-19 Thread Samuel Gougeon
Le 19/07/2018 à 21:30, Samuel Gougeon a écrit : Le 18/07/2018 à 15:19, Izabela Wójcik-Grząba a écrit : Hello, I am looking for an elegant and simple way to manage with changing properties of polylines in a param3d1 plot. The problem is that sometimes (in case of specific data) there is only o

Re: [Scilab-users] Changing polyline properties in param3d1

2018-07-20 Thread Izabela Wójcik-Grząba
I'm glad that my problem can help to improve Scilab and looking forward to use the new version :-) Iza W dniu 19.07.2018 23:57, Samuel Gougeon napisał(a): Le 19/07/2018 à 21:30, Samuel Gougeon a écrit : Le 18/07/2018 à 15:19, Izabela Wójcik-Grząba a écrit : Hello, I am looking for an e