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
zvalue 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 betweenplmeshc(3plplot)andplot3dc(3plplot)is thatplmeshc(3plplot)draws the bottom side of the surface, whileplot3dc(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 showingzas a function ofxfor each value ofy[j].opt=DRAW_LINEYβ lines are drawn showingzas a function ofyfor each value ofx[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 thezvalue being plotted. the color is used from the currentcmap1. πβ¨opt=BASE_CONTβ a contour plot is drawn at the base XY plane using parametersnlevelandclevel. πΊοΈ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 theclevelvector. 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
- 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