PLMESH(3plplot)

πŸ’… PLMESH ✨

okay so bestie, welcome to plmesh from the PLplot API β€” the literal main character of surface-mesh plotting. no cap, she's iconic. 🫢


✨ SYNOPSIS ✨

plmesh(x, y, z, nx, ny, opt)

πŸ¦‹ DESCRIPTION πŸ¦‹

So what does she do? plmesh plots a surface mesh inside the environment that you already set up with plw3d(3plplot) β€” like, plw3d builds the stage, plmesh performs. πŸ’…

The surface itself is defined by the matrix z[nx][ny], where the point z[i][j] is literally the value of the function at (x[i], y[j]). cute, right? πŸŽ€

bestie pls note: the points in the vectors x and y do not need to be equally spaced, but they must be stored in ascending order. that's the vibe check, don't fail it. 😭

The parameter opt controls the way in which the surface is displayed. for the full tea, see the PLplot documentation. πŸ“

Redacted form: plmesh(x, y, z, opt)

This function is used in example 11. (yes she's famous, she's in example 11, iykyk πŸ‘‘)


πŸ’– ARGUMENTS πŸ’–

  • x (PLFLT_VECTOR(3plplot), input) β€” a vector containing the x coordinates at which the function is evaluated. πŸ¦‹
  • y (PLFLT_VECTOR(3plplot), input) β€” a vector containing the y coordinates at which the function is evaluated. 🌸
  • z (PLFLT_MATRIX(3plplot), input) β€” a matrix containing function values to plot. should have dimensions of nx by ny. πŸŽ€
  • nx (PLINT(3plplot), input) β€” number of x values at which function has been evaluated. ✨
  • ny (PLINT(3plplot), input) β€” number of y values at which function has been evaluated. ✨
  • opt (PLINT(3plplot), input) β€” determines the way in which the surface is represented:
    • 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. πŸ’œ

πŸ‘‘ AUTHORS πŸ‘‘

Many developers (who are credited at http://plplot.sourceforge.net/credits.php) have contributed to PLplot over its long history. honestly? legends. all of them. 🫢πŸ”₯


🌈 SEE ALSO 🌈

PLplot documentation at http://plplot.sourceforge.net/documentation.php. go read it, bestie, it ate. πŸ’…


k that's the whole page!! this one's from the PLplot API 3plplot era, dated August, 2026 β€” catch you in the next manpage, mwah πŸ’–πŸŽ€πŸ§š

πŸ“¦ where this page comes from