Please note that the recommended version of Scilab is 2023.1.0. This page might be outdated.
However, this page did not exist in the previous stable version.
3D plot of parametric curves
matrices of the same size (nl,nc).
Each column i of the matrices corresponds to the coordinates of the ith curve. You can give a specific color for each curve by using
colorsis a vector of size
color(i)is negative the curve is plotted using the mark with id
style(i)is strictly positive, a plain line with color id
style(i)or a dashed line with dash id
real values giving in degree the spherical coordinates of the observation point. The default values are 35 and 45 degree.
string defining the captions for each axis with @ as a field separator, for example "X@Y@Z".
boxhave the same meaning as in
an integer (scaling).
the plot is made using the current 3D scaling (set by a previous call to
rescales automatically 3d boxes with extreme aspect ratios, the boundaries are specified by the value of the optional argument
rescales automatically 3d boxes with extreme aspect ratios, the boundaries are computed using the given data. This is the default value.
3d isometric with box bounds given by optional
ebox, similarily to
3d isometric bounds derived from the data, similarily
3d expanded isometric bounds with box bounds given by optional
ebox, similarily to
3d expanded isometric bounds derived from the data, similarily to
type=2.Note that axes boundaries can be customized through the axes entity properties (see axes_properties).
an integer (frame around the plot).
nothing is drawn around the plot.
unimplemented (like box=0).
only the axes behind the surface are drawn.
a box surrounding the surface is drawn and captions are added.
a box surrounding the surface is drawn, captions and axes are added.Note that axes aspect can also be customized through the axes entity properties (see axes_properties). This is the default value.
It specifies the boundaries of the plot as the vector
[xmin,xmax,ymin,ymax,zmin,zmax]. This argument is used together with
flag: if it is set to
5(see above to see the corresponding behaviour). If
eboxis not taken into acount. Note that, when specified, the
eboxargument acts on the
data_boundsfield that can also be reset through the axes entity properties (see axes_properties). The
eboxdefault value is
param3d1 is used to plot 3D curves defined by
z. Note that data can also be got or modified through
the surface entity properties (see surface_properties).
Note that properties like
thickness of the plotted
curves can also be got or modified through the polyline entity properties
Enter the command
param3d1() to see a
xset('window',20) // create a window number 20 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]) xdel(20); 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 Compound composed of 2 curves h.children(1).foreground = 3 // first curve curve2 = h.children(2); curve2.foreground = 6; curve2.mark_style = 2;
|Report an issue|
|<< param3d||3d_plot||param3d_properties >>|