1PLOT3D(3plplot)                   PLplot API                   PLOT3D(3plplot)
2
3
4

NAME

6       plot3d - Plot 3-d surface plot
7

SYNOPSIS

9       plot3d(x, y, z, nx, ny, opt, side)
10

DESCRIPTION

12       Plots a three-dimensional surface plot within the environment set up by
13       plw3d(3plplot).  The surface is defined by the matrix z[nx][ny]  ,  the
14       point z[i][j] being the value of the function at (x[i],y[j]). Note that
15       the points in vectors x and y do not need to  be  equally  spaced,  but
16       must  be stored in ascending order.  The parameter opt controls the way
17       in which the surface is displayed.  For further details see the  PLplot
18       documentation.   The   only   difference  between  plmesh(3plplot)  and
19       plot3d(3plplot) is that plmesh(3plplot) draws the bottom  side  of  the
20       surface,  while  plot3d(3plplot)  only draws the surface as viewed from
21       the top.
22
23       Redacted form: plot3d(x, y, z, opt, side)
24
25       This function is used in examples 11 and 21.
26

ARGUMENTS

28       x (PLFLT_VECTOR(3plplot), input)
29              A vector containing the x coordinates at which the  function  is
30              evaluated.
31
32       y (PLFLT_VECTOR(3plplot), input)
33              A  vector  containing the y coordinates at which the function is
34              evaluated.
35
36       z (PLFLT_MATRIX(3plplot), input)
37              A matrix containing function values to plot.  Should have dimen‐
38              sions of nx by ny.
39
40       nx (PLINT(3plplot), input)
41              Number of x values at which function is evaluated.
42
43       ny (PLINT(3plplot), input)
44              Number of y values at which function is evaluated.
45
46       opt (PLINT(3plplot), input)
47              Determines   the  way  in  which  the  surface  is  represented:
48              opt=DRAW_LINEX : Lines are drawn showing z as a  function  of  x
49              for each value of y[j] .  opt=DRAW_LINEY : Lines are drawn show‐
50              ing  z  as  a  function  of  y  for  each  value   of   x[i]   .
51              opt=DRAW_LINEXY : Network of lines is drawn connecting points at
52              which function is defined.
53
54
55       side (PLBOOL(3plplot), input)
56              Flag to indicate whether or not ``sides'' should be draw on  the
57              figure.  If side is true sides are drawn, otherwise no sides are
58              drawn.
59
60

AUTHORS

62       Many developers (who  are  credited  at  http://plplot.org/credits.php)
63       have contributed to PLplot over its long history.
64

SEE ALSO

66       PLplot documentation at http://plplot.org/documentation.php.
67
68
69
70                                February, 2022                 PLOT3D(3plplot)
Impressum