PLMESHC(3plplot)

πŸ’… PLMESHC(3plplot) β€” the PLplot API, bestie edition πŸŽ€

okay so you're in the PLplot manual, section 3plplot, and today's main character is plmeshc. buckle up bestie, this one's a glow-up of a classic ✨


✨ NAME ✨

plmeshc β€” magnitude colored plot surface mesh with contour. yes that's the whole name, it's giving "I do three things at once and I do them well" πŸ’…


🌸 SYNOPSIS 🌸

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

πŸ¦‹ DESCRIPTION πŸ¦‹

So plmeshc is literally the more powerful form of plmesh(3plplot), no cap. It leveled up in three iconic ways:

  • 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 can be drawn between the plotted function border and the base XY plane πŸŽ€

Redacted form: plmeshc(x, y, z, opt, clevel)

This function is used in example 11. iykyk πŸ‘‘


🧚 ARGUMENTS 🧚

  • x (PLFLT_VECTOR(3plplot), input) β€” a vector containing the x coordinates at which the function is evaluated. that's it, that's the vibe πŸ’–
  • y (PLFLT_VECTOR(3plplot), input) β€” a vector containing the y coordinates at which the function is evaluated. matching energy, love that for us 🌸
  • z (PLFLT_MATRIX(3plplot), input) β€” a matrix containing function values to plot. should have dimensions of nx by ny. so like, the actual data, the moment, the reason we're all here ⭐
  • 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. here's the trick bestie: to specify more than one option just add the options, e.g. DRAW_LINEXY + MAG_COLOR. now let's break down the whole menu πŸ’…
    • 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.
  • clevel (PLFLT_VECTOR(3plplot), input) β€” a vector containing the contour levels. these are the contour vibes πŸŽ€
  • nlevel (PLINT(3plplot), input) β€” number of elements in the clevel vector πŸ“
fr fr do not skip an option name or smash two together β€” they're additive, not merged. DRAW_LINEXY + MAG_COLOR is the blueprint, periodt πŸ’€

πŸ‘‘ AUTHORS πŸ‘‘

Many developers (who are credited at http://plplot.sourceforge.net/credits.php) have contributed to PLplot over its long history. genuine icons, all of them 🫢


πŸ’œ SEE ALSO πŸ’œ

PLplot documentation at http://plplot.sourceforge.net/documentation.php.


k that's the whole page bestie, go plot something gorgeous 🌈✨

August, 2026 Β· PLMESHC(3plplot) β€” mwah, that's the source/version and date, signing off πŸ’–
πŸ“¦ where this page comes from