PLIMAGE(3plplot)

πŸ’– PLIMAGE(3plplot) πŸ’–

okay bestie, welcome to the PLplot API docs, this one's all about plimage and she is so much easier than she looks, promise 🫢


✨ NAME ✨

plimage β€” plot a 2D matrix using cmap1 with automatic color adjustment 🌈


πŸŽ€ SYNOPSIS πŸŽ€

plimage(idata, nx, ny, xmin, xmax, ymin, ymax, zmin, zmax, Dxmin, Dxmax,
Dymin, Dymax)

🌸 DESCRIPTION 🌸

So basically you're plotting a 2D matrix, right? And she does it with the cmap1 palette. The glow-up here is that the color scale is automatically adjusted β€” no cap β€” to use the maximum and minimum values in idata as valuemin and valuemax in a call to plimagefr(3plplot). It's giving "I did the math for you" energy πŸ’…

Redacted form (the compact version, iykyk): General: plimage(idata, xmin, xmax, ymin, ymax, zmin, zmax, Dxmin, Dxmax, Dymin, Dymax)

Also! This function is used in example 20 πŸ‘‘ go look at it, it's iconic.


πŸ¦‹ ARGUMENTS πŸ¦‹

  • idata (PLFLT_MATRIX(3plplot), input) β€” a matrix containing the function values you wanna plot. She should have dimensions of nx by ny. ✨
  • nx, ny (PLINT(3plplot), input) β€” the dimensions of idata. literally just how big she is πŸŽ€
  • xmin, xmax, ymin, ymax (PLFLT(3plplot), input) β€” the x and y index ranges get linearly transformed to these world coordinate ranges, such that idata[0][0] corresponds to (xmin, ymin) and idata[nx - 1][ny - 1] corresponds to (xmax, ymax). main character mapping fr fr πŸ’œ
  • zmin, zmax (PLFLT(3plplot), input) β€” only data between zmin and zmax (inclusive, bestie) will be plotted. everything else? not invited to the party πŸ™ˆ
  • Dxmin, Dxmax, Dymin, Dymax (PLFLT(3plplot), input) β€” plot only the window of points whose plot coordinates fall inside the window of (Dxmin, Dymin) to (Dxmax, Dymax). it's a vibe check for your data πŸ”₯

🧚 AUTHORS 🧚

Many developers β€” who are credited at http://plplot.sourceforge.net/credits.php β€” have contributed to PLplot over its long history. absolute legends, every single one of them πŸ‘‘πŸ’–


⭐ SEE ALSO ⭐

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


and that's the whole page, bestie! this lil beauty is from the PLplot API, dated August, 2026 β€” mwah, go plot something gorgeous πŸ’…πŸ’–πŸŽ€

πŸ“¦ where this page comes from