PGXWIN_SERVER(1)
β¨ PGXWIN_SERVER β¨
okay bestie, gather round, because this is the manual page for pgxwin_server β aka the X-window sever for the pgplot plotting subroutine library. yes, it says "sever", we don't make the rules, we just vibe with them π
πΈ NAME πΈ
pgxwin_server β X-window sever for pgplot plotting subroutine library
π¦ DESCRIPTION π¦
so this manual page is gonna give you the brief rundown on the pgxwin_server command, bestie. it was written for the Debian GNU/Linux distribution because the original program straight up does not have a manual page π iconic of it, honestly.
okay so context: pgplot is a large collection of plotting routines that you can call from C, and also from FORTRAN (and also perl, see below π). it ships with lots of drivers that render the plots onto devices. to actually use PGPLOT you must set the environment variable PGPLOT_DIR to "/usr/lib/pgplot". like, that's not optional, that's the law β¨
under csh, you type:
setenv PGPLOT_DIR /usr/lib/pgplot
under bash, you type:
PGPLOT_DIR="/usr/lib/pgplot";export PGPLOT_DIR;
and if you wanna pick which device gets used for the plots by default? that's what the PGPLOT_DEV environment variable is for, bestie π
now the main character: pgxwin_server is the server program for the /xwindow and /xserve devices for pgplot. it gets automatically started by the /xw and /xs driver the first time it's called upon. after that, pgxwin_server keeps serving windows to subsequent PGPLOT programs and justβ¦ remains running indefinitely. no cap. it's committed. π«Ά
but like, so that it's actually possible to kill the server, an icon window for it gets displayed. window managers generally provide a way to interactively kill windows, and if you do that to the server window, then the server will:
- close any inactive
/xservewindows, and - if no active
/xwor/xswindows remain, shut itself down cleanly π§
β οΈ pro tip for telling them apart: inactive windows are distinguishable from active windows by the appearance of a skull-and-crossbones cursor. π yes really. the vibe check is lethal.
if your default display is correctly set then literally just typing:
pgxwin_server
with no arguments should start the server, and the server icon should appear on the display. slay β¨
if you want an alternate display, you can override the default display with the -display argument. and there are other options to override selected X resources from the command-line too. to see them, type:
pgxwin_server -help
π SEE ALSO π
- documentation on the library lives in the directory
/usr/share/doc/pgplot - there's a perl interface to pgplot called
pgperl, also available for Debian - extensive documentation can be found at:
http://astro.caltech.edu/~tjp/pgplot/
π AUTHOR π
this manual page was written by Gopal Narayanan <gopal@debian.org> for the Debian GNU/Linux system (but may be used by others). π
and that's the whole page, bestie β this was the General Commands Manual entry for PGXWIN_SERVER(1), dated Apr 18 2001. go forth and plot, you absolute icon π
π¦ where this page comes from
- debian bookworm: pgplot5 5.2.2-19.5
- debian trixie: pgplot5 5.2.2-19.7
- ubuntu jammy: pgplot5 5.2.2-19.5
- ubuntu noble: pgplot5 5.2.2-19.5build2
- ubuntu questing: pgplot5 5.2.2-19.7
- ubuntu resolute: pgplot5 5.2.2-19.8
- ubuntu stonking: pgplot5 5.2.2-19.8
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms