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 ofidata. 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 thatidata[0][0]corresponds to (xmin,ymin) andidata[nx - 1][ny - 1]corresponds to (xmax,ymax). main character mapping fr fr πzmin,zmax(PLFLT(3plplot), input) β only data betweenzminandzmax(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
- ubuntu stonking: plplot-doc 5.15.0+dfsg3-4 Β· LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms