PLBOX3(3plplot)
π
PLBOX3 β a Gen Z field guide to plbox3
ok so this page is straight out of the PLplot API β¨ (yes, the 3-D plotting one, we're fancy now). Welcome to plbox3, akshually the full name up top is PLBOX3(3plplot) β iykyk. π
πΈ SYNOPSIS πΈ
plbox3(xopt, xlabel, xtick, nxsub, yopt, ylabel, ytick, nysub, zopt,
zlabel, ztick, nzsub)
like, twelve arguments bestie. twelve. but we're gonna get through it together π«Ά
β¨ DESCRIPTION β¨
It draws axes, numeric labels and text labels for a three-dimensional surface plot. iconic behavior honestly π . For a fuller, more complete description of three-dimensional plotting, go read the PLplot documentation (it's giving "the rest of the lore").
Redacted form β General: plbox3(xopt, xlabel, xtick, nxsub, yopt, ylabel, ytick, nysub, zopt, zlabel, ztick, nzsub) β same thing, just laid out cuter.
This function shows up in examples 8, 11, 18, and 21. main character energy in all four fr fr β
π ARGUMENTS π
okay buckle up, we're doing all twelve, no skips, no cap.
xopt(PLCHAR_VECTOR(3plplot), input) β an ascii character string that sets the options for the x axis. It can include any combination of the following letters, upper or lower case, in any order:bβ draws the axis at base, at heightz=zminwherezminis defined by a call toplw3d(3plplot). β οΈ You must include this character to use any of the other options. it's the VIP pass basically.dβ plot labels as date / time. Values are assumed to be seconds since the epoch (as used bygmtime).fβ always use fixed point numeric labels.iβ inverts tick marks, so they're drawn downwards rather than upwards.lβ labels the axis logarithmically. bestie listen: this only affects the labels, not the data, so you gotta compute the logarithms of your data points before passing them to any of the drawing routines. no shortcuts π.nβ writes numeric labels at major tick intervals.oβ use a custom labelling function to generate the axis label text. That custom labelling function can be defined with theplslabelfunc(3plplot)command. π§sβ enables subticks between major ticks, only valid iftis also specified.tβ draws major ticks.uβ if specified, the text label for the axis is written under the axis.
xlabel(PLCHAR_VECTOR(3plplot), input) β a UTF-8 character string with the text label for the x axis. It's only drawn ifuis in thexoptstring π.xtick(PLFLT(3plplot), input) β world coordinate interval between major ticks on the x axis. If it's set to zero, PLplot automatically generates a suitable tick interval for you (slay, it's got you).nxsub(PLINT(3plplot), input) β number of subintervals between major x axis ticks, for minor ticks. If it's set to zero, PLplot automatically generates a suitable minor tick interval. β¨yopt(PLCHAR_VECTOR(3plplot), input) β an ascii character string setting options for the y axis. The string is interpreted the same way asxopt(so like, go reread that list, it's the exact same vibe).ylabel(PLCHAR_VECTOR(3plplot), input) β a UTF-8 character string with the text label for the y axis. Only drawn ifuis in theyoptstring π.ytick(PLFLT(3plplot), input) β world coordinate interval between major ticks on the y axis. Zero β PLplot automatically generates a suitable tick interval.nysub(PLINT(3plplot), input) β number of subintervals between major y axis ticks, for minor ticks. Zero β PLplot automatically generates a suitable minor tick interval.zopt(PLCHAR_VECTOR(3plplot), input) β an ascii character string setting options for the z axis. It can include any combination of the following letters, upper or lower case, in any order:bβ draws the z axis to the left of the surface plot.cβ draws the z axis to the right of the surface plot.dβ draws grid lines parallel to the x-y plane behind the figure. β οΈ These lines are not drawn until afterplot3d(3plplot)orplmesh(3plplot)are called, because of the need for hidden line removal. patience, babe.eβ plot labels as date / time. Values are assumed to be seconds since the epoch (as used bygmtime). Note: this suboption is interpreted the same as thedsuboption forxoptandyopt, but it has to be identified aseforzoptsincedhas already been used for the different purpose up above. naming collision moment π.fβ always use fixed point numeric labels.iβ inverts tick marks, so they're drawn away from the center.lβ labels the axis logarithmically. Again: only affects the labels, not the data, so compute the logarithms of data points before passing them to any of the drawing routines. πmβ writes numeric labels at major tick intervals on the right-hand z axis.nβ writes numeric labels at major tick intervals on the left-hand z axis.oβ use a custom labelling function to generate the axis label text. That custom labelling function can be defined with theplslabelfunc(3plplot)command. π¦sβ enables subticks between major ticks, only valid iftis also specified.tβ draws major ticks.uβ if specified, the text label is written beside the left-hand axis.vβ if specified, the text label is written beside the right-hand axis.
zlabel(PLCHAR_VECTOR(3plplot), input) β a UTF-8 character string with the text label for the z axis. Only drawn ifuorvare in thezoptstring π.ztick(PLFLT(3plplot), input) β world coordinate interval between major ticks on the z axis. Zero β PLplot automatically generates a suitable tick interval.nzsub(PLINT(3plplot), input) β number of subintervals between major z axis ticks, for minor ticks. Zero β PLplot automatically generates a suitable minor tick interval.
π AUTHORS π
So many developers β and they're all credited at http://plplot.sourceforge.net/credits.php β have contributed to PLplot over its long history. literal legends, all of them ππ
β SEE ALSO β
- PLplot documentation at
http://plplot.sourceforge.net/documentation.phpβ go read it, it's the whole vibe.
and that's the page!! π thanks for coming to my ted talk bestie, mwah π«Ά
sign-off tea β: this lil masterpiece is part of the PLplot API and it's dated August, 2026 β PLBOX3(3plplot), periodt. πβ¨
π¦ 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