PLOT3DC(3plplot)

πŸ’– PLOT3DC β€” like, the magnitude colored plot surface with contour one (PLplot API) πŸ’–

okay bestie, listen β€” this is plot3dc from the PLplot API, and honestly? she's a whole vibe. let's get into it 🫢


✨ NAME ✨

plot3dc β€” magnitude colored plot surface with contour ✨ (yes that's the actual name, and yes it ate)


🌸 SYNOPSIS 🌸

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

that's the whole cast, no cap πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

So basically, if you take plot3d(3plplot) and you remove the side functionality, what's left is this absolute icon β€” and she is more powerful, ngl. πŸ”₯

Here's what she can do that the basic version can't, and I'm obsessed:

  • the surface mesh can be colored accordingly to the current z value being plotted 🎨
  • a contour plot can be drawn at the base XY plane 🌈
  • a curtain</c> can be drawn between the plotted function border and the base XY plane 🎭

The arguments are identical to those of plmeshc(3plplot). (iykyk)

The only difference between plmeshc(3plplot) and plot3dc(3plplot) is that plmeshc(3plplot) draws the bottom side of the surface, while plot3dc(3plplot) only draws the surface as viewed from the top. πŸ’€ that's it. that's the tea.

Redacted form: General: plot3dc(x, y, z, opt, clevel)

This function is used in example 21. go look, she's serving πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • x (PLFLT_VECTOR(3plplot), input) β€” a vector containing the x coordinates at which the function is evaluated. ur x values, bestie πŸ’œ
  • y (PLFLT_VECTOR(3plplot), input) β€” a vector containing the y coordinates at which the function is evaluated. same energy, but y πŸ¦‹
  • z (PLFLT_MATRIX(3plplot), input) β€” a matrix containing function values to plot. she should have dimensions of nx by ny. respect the dimensions or she will not slay 😭
  • nx (PLINT(3plplot), input) β€” number of x values at which function is evaluated.
  • ny (PLINT(3plplot), input) β€” number of y values at which function is evaluated.
  • opt (PLINT(3plplot), input) β€” determines the way in which the surface is represented. 🎨 and listen: to specify more than one option, you just add the options together, e.g. DRAW_LINEXY + MAG_COLOR. literally that simple, periodt. the options are:
    • opt=DRAW_LINEX β€” lines are drawn showing z as a function of x for each value of y[j] .
    • opt=DRAW_LINEY β€” lines are drawn showing z as a function of y for each value of x[i] .
    • opt=DRAW_LINEXY β€” network of lines is drawn connecting points at which function is defined. πŸ•ΈοΈ
    • opt=MAG_COLOR β€” each line in the mesh is colored according to the z value being plotted. the color is used from the current cmap1. 🌈✨
    • opt=BASE_CONT β€” a contour plot is drawn at the base XY plane using parameters nlevel and clevel. πŸ—ΊοΈ
    • opt=DRAW_SIDES β€” draws a curtain between the base XY plane and the borders of the plotted function. 🎭 (the drama! the curtain!)
  • clevel (PLFLT_VECTOR(3plplot), input) β€” a vector containing the contour levels. ⭐
  • nlevel (PLINT(3plplot), input) β€” number of elements in the clevel vector. count 'em bestie πŸ“

πŸ‘‘ AUTHORS πŸ‘‘

Many developers (who are credited at http://plplot.sourceforge.net/credits.php) have contributed to PLplot over its long history. 🫢 legends, all of them. main character energy from an entire community, honestly.


πŸ’€ SEE ALSO πŸ’€

PLplot documentation at http://plplot.sourceforge.net/documentation.php. go read, it's giving study era πŸ“šβœ¨


okay that's the whole page!! this little beauty came from the PLplot API and she's dated August, 2026 β€” yeah, from the future, we don't question it πŸ’…βœ¨ bye bestie, go plot something gorgeous πŸŽ€πŸ¦‹πŸ’–

πŸ“¦ where this page comes from