Hi Claus, Rafeal and Samuel,
Here is another method for stacked plots, which was suggested to me
years ago by Serge Steer.
I used it succssfully for about 12 individual curves.
Cheers,
JP Grivet
Le 28/01/2018 20:19, Claus Futtrup a écrit :
Hi Rafael and Samuel
Thank you both for great suggestions - and as I thought - I was on the
wrong path. Indeed I looked at plot3d3 and didn't catch that this one
is suitable for what I wish to do. I see clearly with the example by
Samuel that it is quite a smart way. I initially made the mistake to
feed vectors (frequencies + angles), and it complained (and it
revealed, it seems, that plot3d3 is based on param3d1). I see it needs
matrices. The example by Rafael made that clear to me. Thanks Rafael
for a very good example to work with.
Best regards,
Claus
On Sun, Jan 28, 2018 at 5:24 PM, Rafael Guerra
<[email protected] <mailto:[email protected]>> wrote:
Hi Samuel,
Absolutely, the two param3d functions should be merged.
The vectorised assignment example should also be included in the
helpfile.
Regards,
Rafael
-----Original Message-----
From: users [mailto:[email protected]
<mailto:[email protected]>] On Behalf Of Samuel Gougeon
Sent: Sunday, January 28, 2018 5:17 PM
To: Users mailing list for Scilab <[email protected]
<mailto:[email protected]>>
Subject: Re: [Scilab-users] Stacked 2D plot in 3D
Hello Rafael,
About param3d() and param3d1():
In 3 days, it will be the 10th birthday of this report:
http://bugzilla.scilab.org/6155 <http://bugzilla.scilab.org/6155>
Shall we make a present to other users? :) By the way, beyond
their pages, don't you think the functions themselves should be
merged?
Le 28/01/2018 à 16:39, Rafael Guerra a écrit :
> .../...
> for i=1:nf;
> e.children(i).foreground = color('dark blue');
> e.children(i).thickness = 2;
> end
Or more simply:
e.children.foreground = color('dark blue'); e.children.thickness = 2;
This kind of vectorized assignment (almost always) works.
Cheers
Samuel
_______________________________________________
users mailing list
[email protected] <mailto:[email protected]>
http://lists.scilab.org/mailman/listinfo/users
<http://lists.scilab.org/mailman/listinfo/users>
_______________________________________________
users mailing list
[email protected] <mailto:[email protected]>
http://lists.scilab.org/mailman/listinfo/users
<http://lists.scilab.org/mailman/listinfo/users>
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users
---
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel
antivirus Avast.
https://www.avast.com/antivirus
x=linspace(-10,10,500);
clf;ax=gca();
ax.axes_visible='on';
xmin=-10;
xmax=+10;
ymin=-1;
ymax=2
ax.data_bounds=[xmin,ymin;xmax ymax];
yshift=0.2;
drawlater
for xshift=5:-0.4:-5
xfpoly([xmin x xmax],[ymin yshift+sinc(x+xshift) ymin],1)
e=gce();e.background=-2;
yshift=yshift-0.02;
end
drawnow()
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users