1PLOT3DC(3plplot) PLplot API PLOT3DC(3plplot)
2
3
4
6 plot3dc - Magnitude colored plot surface with contour
7
9 plot3dc(x, y, z, nx, ny, opt, clevel, nlevel)
10
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) Perl/PDL: Not
23 available?
24
25
26 This function is used in example 21.
27
29 x (PLFLT_VECTOR(3plplot), input)
30 A vector containing the x coordinates at which the function is
31 evaluated.
32
33 y (PLFLT_VECTOR(3plplot), input)
34 A vector containing the y coordinates at which the function is
35 evaluated.
36
37 z (PLFLT_MATRIX(3plplot), input)
38 A matrix containing function values to plot. Should have dimen‐
39 sions of nx by ny.
40
41 nx (PLINT(3plplot), input)
42 Number of x values at which function is evaluated.
43
44 ny (PLINT(3plplot), input)
45 Number of y values at which function is evaluated.
46
47 opt (PLINT(3plplot), input)
48 Determines the way in which the surface is represented. To spec‐
49 ify more than one option just add the options, e.g. DRAW_LINEXY
50 + MAG_COLOR opt=DRAW_LINEX : Lines are drawn showing z as a
51 function of x for each value of y[j] . opt=DRAW_LINEY : Lines
52 are drawn showing z as a function of y for each value of x[i] .
53 opt=DRAW_LINEXY : Network of lines is drawn connecting points at
54 which function is defined. opt=MAG_COLOR : Each line in the
55 mesh is colored according to the z value being plotted. The
56 color is used from the current cmap1. opt=BASE_CONT : A contour
57 plot is drawn at the base XY plane using parameters nlevel and
58 clevel. opt=DRAW_SIDES : draws a curtain between the base XY
59 plane and the borders of the plotted function.
60
61
62 clevel (PLFLT_VECTOR(3plplot), input)
63 A vector containing the contour levels.
64
65 nlevel (PLINT(3plplot), input)
66 Number of elements in the clevel vector.
67
68
70 Many developers (who are credited at http://plplot.source‐
71 forge.net/credits.php) have contributed to PLplot over its long his‐
72 tory.
73
75 PLplot documentation at http://plplot.sourceforge.net/documenta‐
76 tion.php.
77
78
79
80 August, 2017 PLOT3DC(3plplot)