1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82
|
param3d Scilab Group Scilab Function param3d
NAME
param3d - 3D plot of a curve
CALLING SEQUENCE
param3d(x,y,z,[theta,alpha,leg,flag,ebox])
PARAMETERS
x,y,z : three vectors of the same size (points of the
parametric curve).
theta,alpha : real values giving in degree the spherical coordinates
of the observation point.
leg : string defining the captions for each axis with @ as a
field separator, for example "X@Y@Z".
flag=[type,box] : type and box have the same meaning as in plot3d:
type : an integer (scaling).
type=0 the plot is made using the current 3D
scaling (set by a previous call to param3d,
plot3d, contour or plot3d1).
type=1 rescales automatically 3d boxes with extreme
aspect ratios, the boundaries are specified
by the value of the optional argument ebox.
type=2 rescales automatically 3d boxes with extreme
aspect ratios, the boundaries are computed
using the given data.
type=3 3d isometric with box bounds given by
optional ebox, similarily to type=1
type=4 3d isometric bounds derived from the data,
to similarilytype=2
type=5 3d expanded isometric bounds with box
bounds given by optional ebox, similarily to
type=1
type=6 3d expanded isometric bounds derived from
the data, similarily to type=2
box : an integer (frame around the plot).
box=0
nothing is drawn around the plot.
box=1
unimplemented (like box=0).
box=2
only the axes behind the surface are drawn.
box=3
a box surrounding the surface is drawn and captions
are added.
box=4
a box surrounding the surface is drawn, captions and
axes are added.
ebox : used when type in flag is 1. It specifies the
boundaries of the plot as the vector
[xmin,xmax,ymin,ymax,zmin,zmax].
DESCRIPTION
param3d is used to plot a 3D curve defined by its coordinates x, y and z.
Use param3d1 to do multiple plots. Enter the command param3d() to see a
demo.
EXAMPLE
t=0:0.1:5*%pi;
param3d(sin(t),cos(t),t/10,35,45,"X@Y@Z",[2,3])
SEE ALSO
param3d1, plot3d
AUTHOR
J.Ph.C.
|