Rectangular facets to plot3d parameters (original) (raw)

Scilab 5.3.3

Please note that the recommended version of Scilab is 2026.0.1. This page might be outdated.
See the recommended documentation of this function

Scilab help >> Graphics > 3d_plot > nf3d

nf3d

rectangular facets to plot3d parameters

Calling Sequence

Arguments

x,y,x,xx,yy,zz

6 real matrices

Description

Utility function. Used for transforming rectangular facets coded in three matrices x,y,z to scilab code for facets accepted by plot3d.

Examples

u = linspace(-%pi/2,%pi/2,40); v = linspace(0,2*%pi,20); x= cos(u)'cos(v); y= cos(u)'sin(v); z= sin(u)'*ones(v);

[xx,yy,zz]=nf3d(x,y,z); plot3d(xx,yy,zz)

See Also