Scilab Function
sphere - Creates a scatterplot with spherical surface.
Calling Sequence
-
[xx,yy,zz] = sphere(radius,[orig])
Parameters
-
radius
: radius of the sphere.
-
orig
: Origin of the sphere in [x,y,z], optional (default [0 0 0]).
-
xx
: Matrix 40x20 of the x-coordinates.
-
yy
: Matrix 40x20 of the y-coordinates.
-
zz
: Matrix 40x20 of the z-coordinates.
Description
-
Creates a scatterplot with spherical surface. Can be used for plot3d.
-
No warranty, there are no inputchecks.
Examples
[xx,yy,zz] = sphere(r);
[xx,yy,zz] = sphere(r,[100,5,5]);
plot3d2(sphere(r,[0,0,0]);
Authors
-
cos
area7@web.de