octave: Three-dimensional Function Plotting

 
 15.2.2.2 Three-dimensional Function Plotting
 ............................................
 
  -- : ezplot3 (FX, FY, FZ)
  -- : ezplot3 (..., DOM)
  -- : ezplot3 (..., N)
  -- : ezplot3 (..., "animate")
  -- : ezplot3 (HAX, ...)
  -- : H = ezplot3 (...)
 
      Plot a parametrically defined curve in three dimensions.
 
      FX, FY, and FZ are strings, inline functions, or function handles
      with one argument defining the function.  By default the plot is
      over the domain ‘0 <= T <= 2*pi’ with 500 points.
 
      If DOM is a two element vector, it represents the minimum and
      maximum values of T.
 
      N is a scalar defining the number of points to use in plotting the
      function.
 
      If the "animate" option is given then the plotting is animated in
      the style of ‘comet3’.
 
      If the first argument HAX is an axes handle, then plot into this
      axes, rather than the current axes returned by ‘gca’.
 
      The optional return value H is a graphics handle to the created
      plot.
 
           fx = @(t) cos (t);
           fy = @(t) sin (t);
           fz = @(t) t;
           ezplot3 (fx, fy, fz, [0, 10*pi], 100);
 
DONTPRINTYET       See also: Seeplot3 XREFplot3, Seecomet3 XREFcomet3, *noteDONTPRINTYET DONTPRINTYET       See also: Seeplot3 XREFplot3, Seecomet3 XREFcomet3, See
      ezplot XREFezplot, Seeezmesh XREFezmesh, *noteezsurf:
DONTPRINTYET DONTPRINTYET       See also: Seeplot3 XREFplot3, Seecomet3 XREFcomet3, See
      ezplot XREFezplot, Seeezmesh XREFezmesh, Seeezsurf

      XREFezsurf.
 
  -- : ezmesh (F)
  -- : ezmesh (FX, FY, FZ)
  -- : ezmesh (..., DOM)
  -- : ezmesh (..., N)
  -- : ezmesh (..., "circ")
  -- : ezmesh (HAX, ...)
  -- : H = ezmesh (...)
 
      Plot the mesh defined by a function.
 
      F is a string, inline function, or function handle with two
      arguments defining the function.  By default the plot is over the
      meshed domain ‘-2*pi <= X | Y <= 2*pi’ with 60 points in each
      dimension.
 
      If three functions are passed, then plot the parametrically defined
      function ‘[FX(S, T), FY(S, T), FZ(S, T)]’.
 
      If DOM is a two element vector, it represents the minimum and
      maximum values of both X and Y.  If DOM is a four element vector,
      then the minimum and maximum values are ‘[xmin xmax ymin ymax]’.
 
      N is a scalar defining the number of points to use in each
      dimension.
 
      If the argument "circ" is given, then the function is plotted over
      a disk centered on the middle of the domain DOM.
 
      If the first argument HAX is an axes handle, then plot into this
      axes, rather than the current axes returned by ‘gca’.
 
      The optional return value H is a graphics handle to the created
      surface object.
 
      Example 1: 2-argument function
 
           f = @(x,y) sqrt (abs (x .* y)) ./ (1 + x.^2 + y.^2);
           ezmesh (f, [-3, 3]);
 
      Example 2: parametrically defined function
 
           fx = @(s,t) cos (s) .* cos (t);
           fy = @(s,t) sin (s) .* cos (t);
           fz = @(s,t) sin (t);
           ezmesh (fx, fy, fz, [-pi, pi, -pi/2, pi/2], 20);
 
DONTPRINTYET       See also: Seemesh XREFmesh, Seeezmeshc XREFezmeshc, *noteDONTPRINTYET DONTPRINTYET       See also: Seemesh XREFmesh, Seeezmeshc XREFezmeshc, See
      ezplot XREFezplot, Seeezsurf XREFezsurf, *noteezsurfc:
DONTPRINTYET DONTPRINTYET       See also: Seemesh XREFmesh, Seeezmeshc XREFezmeshc, See
      ezplot XREFezplot, Seeezsurf XREFezsurf, Seeezsurfc

      XREFezsurfc, Seehidden XREFhidden.
 
  -- : ezmeshc (F)
  -- : ezmeshc (FX, FY, FZ)
  -- : ezmeshc (..., DOM)
  -- : ezmeshc (..., N)
  -- : ezmeshc (..., "circ")
  -- : ezmeshc (HAX, ...)
  -- : H = ezmeshc (...)
 
      Plot the mesh and contour lines defined by a function.
 
      F is a string, inline function, or function handle with two
      arguments defining the function.  By default the plot is over the
      meshed domain ‘-2*pi <= X | Y <= 2*pi’ with 60 points in each
      dimension.
 
      If three functions are passed, then plot the parametrically defined
      function ‘[FX(S, T), FY(S, T), FZ(S, T)]’.
 
      If DOM is a two element vector, it represents the minimum and
      maximum values of both X and Y.  If DOM is a four element vector,
      then the minimum and maximum values are ‘[xmin xmax ymin ymax]’.
 
      N is a scalar defining the number of points to use in each
      dimension.
 
      If the argument "circ" is given, then the function is plotted over
      a disk centered on the middle of the domain DOM.
 
      If the first argument HAX is an axes handle, then plot into this
      axes, rather than the current axes returned by ‘gca’.
 
      The optional return value H is a 2-element vector with a graphics
      handle for the created mesh plot and a second handle for the
      created contour plot.
 
      Example: 2-argument function
 
           f = @(x,y) sqrt (abs (x .* y)) ./ (1 + x.^2 + y.^2);
           ezmeshc (f, [-3, 3]);
 
DONTPRINTYET       See also: Seemeshc XREFmeshc, Seeezmesh XREFezmesh, *noteDONTPRINTYET DONTPRINTYET       See also: Seemeshc XREFmeshc, Seeezmesh XREFezmesh, See
      ezplot XREFezplot, Seeezsurf XREFezsurf, *noteezsurfc:
DONTPRINTYET DONTPRINTYET       See also: Seemeshc XREFmeshc, Seeezmesh XREFezmesh, See
      ezplot XREFezplot, Seeezsurf XREFezsurf, Seeezsurfc

      XREFezsurfc, Seehidden XREFhidden.
 
  -- : ezsurf (F)
  -- : ezsurf (FX, FY, FZ)
  -- : ezsurf (..., DOM)
  -- : ezsurf (..., N)
  -- : ezsurf (..., "circ")
  -- : ezsurf (HAX, ...)
  -- : H = ezsurf (...)
 
      Plot the surface defined by a function.
 
      F is a string, inline function, or function handle with two
      arguments defining the function.  By default the plot is over the
      meshed domain ‘-2*pi <= X | Y <= 2*pi’ with 60 points in each
      dimension.
 
      If three functions are passed, then plot the parametrically defined
      function ‘[FX(S, T), FY(S, T), FZ(S, T)]’.
 
      If DOM is a two element vector, it represents the minimum and
      maximum values of both X and Y.  If DOM is a four element vector,
      then the minimum and maximum values are ‘[xmin xmax ymin ymax]’.
 
      N is a scalar defining the number of points to use in each
      dimension.
 
      If the argument "circ" is given, then the function is plotted over
      a disk centered on the middle of the domain DOM.
 
      If the first argument HAX is an axes handle, then plot into this
      axes, rather than the current axes returned by ‘gca’.
 
      The optional return value H is a graphics handle to the created
      surface object.
 
      Example 1: 2-argument function
 
           f = @(x,y) sqrt (abs (x .* y)) ./ (1 + x.^2 + y.^2);
           ezsurf (f, [-3, 3]);
 
      Example 2: parametrically defined function
 
           fx = @(s,t) cos (s) .* cos (t);
           fy = @(s,t) sin (s) .* cos (t);
           fz = @(s,t) sin (t);
           ezsurf (fx, fy, fz, [-pi, pi, -pi/2, pi/2], 20);
 
DONTPRINTYET       See also: Seesurf XREFsurf, Seeezsurfc XREFezsurfc, *noteDONTPRINTYET DONTPRINTYET       See also: Seesurf XREFsurf, Seeezsurfc XREFezsurfc, See
      ezplot XREFezplot, Seeezmesh XREFezmesh, *noteezmeshc:
DONTPRINTYET DONTPRINTYET       See also: Seesurf XREFsurf, Seeezsurfc XREFezsurfc, See
      ezplot XREFezplot, Seeezmesh XREFezmesh, Seeezmeshc

      XREFezmeshc, Seeshading XREFshading.
 
  -- : ezsurfc (F)
  -- : ezsurfc (FX, FY, FZ)
  -- : ezsurfc (..., DOM)
  -- : ezsurfc (..., N)
  -- : ezsurfc (..., "circ")
  -- : ezsurfc (HAX, ...)
  -- : H = ezsurfc (...)
 
      Plot the surface and contour lines defined by a function.
 
      F is a string, inline function, or function handle with two
      arguments defining the function.  By default the plot is over the
      meshed domain ‘-2*pi <= X | Y <= 2*pi’ with 60 points in each
      dimension.
 
      If three functions are passed, then plot the parametrically defined
      function ‘[FX(S, T), FY(S, T), FZ(S, T)]’.
 
      If DOM is a two element vector, it represents the minimum and
      maximum values of both X and Y.  If DOM is a four element vector,
      then the minimum and maximum values are ‘[xmin xmax ymin ymax]’.
 
      N is a scalar defining the number of points to use in each
      dimension.
 
      If the argument "circ" is given, then the function is plotted over
      a disk centered on the middle of the domain DOM.
 
      If the first argument HAX is an axes handle, then plot into this
      axes, rather than the current axes returned by ‘gca’.
 
      The optional return value H is a 2-element vector with a graphics
      handle for the created surface plot and a second handle for the
      created contour plot.
 
      Example:
 
           f = @(x,y) sqrt (abs (x .* y)) ./ (1 + x.^2 + y.^2);
           ezsurfc (f, [-3, 3]);
 
DONTPRINTYET       See also: Seesurfc XREFsurfc, Seeezsurf XREFezsurf, *noteDONTPRINTYET DONTPRINTYET       See also: Seesurfc XREFsurfc, Seeezsurf XREFezsurf, See
      ezplot XREFezplot, Seeezmesh XREFezmesh, *noteezmeshc:
DONTPRINTYET DONTPRINTYET       See also: Seesurfc XREFsurfc, Seeezsurf XREFezsurf, See
      ezplot XREFezplot, Seeezmesh XREFezmesh, Seeezmeshc

      XREFezmeshc, Seeshading XREFshading.