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

NAME

6       plot3dc - Magnitude colored plot surface with contour
7

SYNOPSIS

9       plot3dc(x, y, z, nx, ny, opt, clevel, nlevel)
10

DESCRIPTION

12       Aside from dropping the side functionality this is a more powerful form
13       of plot3d(3plplot): the surface mesh can be colored accordingly to  the
14       current  z value being plotted, a contour plot can be drawn at the base
15       XY plane, and a curtain can be drawn between the plotted function  bor‐
16       der  and  the  base  XY  plane. The arguments are identical to those of
17       plmeshc(3plplot). The  only  difference  between  plmeshc(3plplot)  and
18       plot3dc(3plplot)  is that plmeshc(3plplot) draws the bottom side of the
19       surface, while plot3dc(3plplot) only draws the surface as  viewed  from
20       the top.
21
22       Redacted form: General: plot3dc(x, y, z, opt, clevel)
23
24
25       This function is used in example 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. To spec‐
48              ify  more than one option just add the options, e.g. DRAW_LINEXY
49              + MAG_COLOR opt=DRAW_LINEX : Lines are  drawn  showing  z  as  a
50              function  of  x for each value of y[j] .  opt=DRAW_LINEY : Lines
51              are drawn showing z as a function of y for each value of x[i]  .
52              opt=DRAW_LINEXY : Network of lines is drawn connecting points at
53              which function is defined.  opt=MAG_COLOR :  Each  line  in  the
54              mesh  is  colored  according  to  the z value being plotted. The
55              color is used from the current cmap1.  opt=BASE_CONT : A contour
56              plot  is  drawn at the base XY plane using parameters nlevel and
57              clevel.  opt=DRAW_SIDES : draws a curtain between  the  base  XY
58              plane and the borders of the plotted function.
59
60
61       clevel (PLFLT_VECTOR(3plplot), input)
62              A vector containing the contour levels.
63
64       nlevel (PLINT(3plplot), input)
65              Number of elements in the clevel vector.
66
67

AUTHORS

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

SEE ALSO

73       PLplot documentation at http://plplot.org/documentation.php.
74
75
76
77                                 January, 2023                PLOT3DC(3plplot)
Impressum