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 "
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
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
.
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
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
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
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);
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
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