[Scilab-users] 3d curve plot

2014-02-13 Thread Jeibros
Hi all,

I'm totally new to Scilab (I used to work with Matlab), and I have a rather
simple question. I have two arrays (x,y). Next, I make a conversion so that
to get a new variable u out of x and y. And finally, I have a z,u
relationship.

*I would like to make a x,y,z plot*, and I don't need a surface, but a line.
Which is the solution please?

imagine that the code I have is this:

x=0:0.1:2;
y=0:0.2:4;
u=x+y;
z=3*u + 8;
plot3(x,y,z) //this is obviously wrong

Thanks a lot and sorry for the simple doubt




--
View this message in context: 
http://mailinglists.scilab.org/3d-curve-plot-tp4028615.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at 
Nabble.com.
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] 3d curve plot

2014-02-13 Thread Serge Steer

Le 12/02/2014 12:49, Jeibros a écrit :

Hi all,

I'm totally new to Scilab (I used to work with Matlab), and I have a rather
simple question. I have two arrays (x,y). Next, I make a conversion so that
to get a new variable u out of x and y. And finally, I have a z,u
relationship.

*I would like to make a x,y,z plot*, and I don't need a surface, but a line.
Which is the solution please?

imagine that the code I have is this:

x=0:0.1:2;
y=0:0.2:4;
u=x+y;
z=3*u + 8;
plot3(x,y,z) //this is obviously wrong

Why?


Thanks a lot and sorry for the simple doubt




--
View this message in context: 
http://mailinglists.scilab.org/3d-curve-plot-tp4028615.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at 
Nabble.com.
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users



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


Re: [Scilab-users] 3d curve plot

2014-02-13 Thread Stéphane Mottelet

Le 13/02/2014 10:51, Serge Steer a écrit :

Le 12/02/2014 12:49, Jeibros a écrit :

Hi all,

I'm totally new to Scilab (I used to work with Matlab), and I have a 
rather
simple question. I have two arrays (x,y). Next, I make a conversion 
so that

to get a new variable u out of x and y. And finally, I have a z,u
relationship.

*I would like to make a x,y,z plot*, and I don't need a surface, but 
a line.

Which is the solution please?

imagine that the code I have is this:

x=0:0.1:2;
y=0:0.2:4;
u=x+y;
z=3*u + 8;
plot3(x,y,z) //this is obviously wrong

Why?

For a parametric curve in 3D, the scilab macro is param3d.

S.


Thanks a lot and sorry for the simple doubt




--
View this message in context: 
http://mailinglists.scilab.org/3d-curve-plot-tp4028615.html
Sent from the Scilab users - Mailing Lists Archives mailing list 
archive at Nabble.com.

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



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


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


Re: [Scilab-users] 3d curve plot

2014-02-13 Thread Martin Helm
Am 12.02.2014 12:49, schrieb Jeibros:
 plot3(x,y,z) //this is obviously wrong

use param3d(x,y,z)

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