Man Scilab

param3d1
Scilab Function

param3d1 - 3D plot of parametric curves

Calling Sequence

param3d1(x,y,z,[theta,alpha,leg,flag,ebox])
param3d1(x,y,list(z,colors),[theta,alpha,leg,flag,ebox])

Parameters

Description

param3d1 is used to plot 3D curves defined by their coordinates x , y and z . Note that data can also be set or get through the surface entity properties (see surface_properties ).

Note that properties like rotation angles , colors and thickness of the plotted curves can also be set through the param3d entity properties (see param3d_properties ).

Enter the command param3d1() to see a demo.

Examples


t=[0:0.1:5*%pi]';
param3d1([sin(t),sin(2*t)],[cos(t),cos(2*t)],..
  list([t/10,sin(t)],[3,2]),35,45,"X@Y@Z",[2,3])

 set("figure_style","new") //create a figure
 a=get("current_axes");//get the handle of the newly created axes
 t=[0:0.1:5*%pi]';
 param3d1([sin(t),sin(2*t)],[cos(t),cos(2*t)],[t/10,sin(t)])
 a.rotation_angles=[65,75]; 
 a.data_bounds=[-1,-1,-1;1,1,2]; //boundaries given by data_bounds
 a.thickness = 2;
 h=a.children //get the handle of the param3d entity: an agregation composed of 2 curves
 h.children(1).foreground = 3 // first curve
 curve2 = h.children(2);
 curve2.foreground = 6;
 curve2.mark_style = 2;

 

See Also

param3d ,   plot3d ,   plot2d ,   gca ,   xdel ,   delete ,  

Author

J.Ph.C.

Back