GNUPLOT(1)
π GNUPLOT(1) π
okay bestie, pull up a chair, because this is the GNUPLOT(1) page from the General Commands Manual and it's lowkey iconic πβ¨
β¨ NAME β¨
gnuplot β it's an interactive plotting program, and no, that's not a typo, that's just her name π
π¦ SYNOPSIS π¦
gnuplot [X11 options] [options] [file ...]
πΈ DESCRIPTION πΈ
So like, gnuplot is a command-driven interactive plotting program. That's the whole vibe. You talk, she plots. π
If you hand her file names on the command line, she loads and executes each file in the order you specified, and then dips out after the last file is processed. No files given? She just prompts you for interactive commands like the main character she is. π
Here's some of her features, and honestly, obsessed:
- Plots any number of functions, built up of C operators, C math library functions, and some stuff C doesn't even have, like
**,sgn(), etc. π₯ - User-defined constants and functions. yes really.
- All computations are performed in the complex domain. By default only the real part gets plotted, but functions like
imag(),abs()andarg()are available to override that. π§ - Many presentation styles for plotting user data from files, including surface-fitting, error bars, boxplots, histograms, heat maps, and simple manipulation of image data. There's an on-line demo collection at
http://gnuplot.info/demoβ go look, it's giving gallery. - Nonlinear least-squares fitting. β¨
- 2D and 3D plots with mouse-controlled zooming, rotation, and hypertext. π±οΈ
- Shell escapes and command line substitution.
- Load and save capability. πΎ
- Support for a huge variety of output devices and file formats. literally so many.
π OPTIONS π
-p,--persistβ lets plot windows survive after the main gnuplot program exits. they simply refuse to leave the party π«Ά-c scriptname ARG1 ARG2 ...β loads the script using gnuplot's"call"mechanism and passes it the remainder of the command line as arguments.-d,--default-settingsβ do not read fromgnuplotrc,~/.gnuplot, and$XDG_CONFIG_HOME/gnuplot/gnuplotrcon entry. fresh start energy β¨-e "command list"β executes the requested commands before loading the next input file.-s,--slowβ wait for slow font initialization rather than continuing with an error. she's patient, she's a queen π-h,--helpβ print summary of usage-V,--versionβ show current version
π X11 OPTIONS π
For terminal type x11, gnuplot accepts the standard X Toolkit options and resources such as geometry, font, and background. Peep the X(1) man page for a description of common options. For additional X options specific to gnuplot, type help x11 on the gnuplot command line. π«§
ngl, these options have no effect on other terminal types. just so you know π
π ENVIRONMENT π
A bunch of shell environment variables are understood by gnuplot. None of these are required. she's flexible like that π
GNUTERMβ the name of the terminal type to be used by default. This can be overridden by thegnuplotrc,.gnuplot, or$XDG_CONFIG_HOME/gnuplot/gnuplotrcstart-up files and, of course, by later explicit"set terminal"commands.GNUHELPβ the pathname of the HELP file (gnuplot.gih).HOMEβ the name of a directory to search for a.gnuplotfile.PAGERβ an output filter for help messages.SHELLβ the program used for the"shell"command.FIT_SCRIPTβ specifies a gnuplot command to be executed when a fit is interrupted---see"help fit".FIT_LOGβ the name of the logfile maintained by fit.GNUPLOT_LIBβ additional search directories for data and command files. The variable may contain a single directory name, or a list of directories separated by':'. The contents ofGNUPLOT_LIBare appended to the"loadpath"variable, but not saved with the"save"and"save set"commands. πGDFONTPATHβ several gnuplot terminal drivers access TrueType fonts via the gd library. This variable gives the font search path for these drivers.GNUPLOT_DEFAULT_GDFONTβ the default font for the terminal drivers that access TrueType fonts via the gd library.GNUPLOT_FONTPATHβ the font search path used by the postscript terminal. The format is the same as forGNUPLOT_LIB. The contents ofGNUPLOT_FONTPATHare appended to the"fontpath"variable, but not saved with the"save"and"save set"commands.GNUPLOT_PS_DIRβ used by the postscript driver to locate external prologue files. Depending on the build process, gnuplot contains either a builtin copy of those files or simply a default hardcoded path. Use this variable to test the postscript terminal with custom prologue files. See"help postscript prologue".
π FILES π
gnuplotrcβ when gnuplot is run, it first looks for a system-wide initialization file namedgnuplotrc. The standard location of this file expected by the program is reported by the"show loadpath"command..gnuplotβ after loading the system-wide initialization file, if any, Gnuplot looks for a private initialization file in theHOMEdirectory. It may contain any legal gnuplot commands, but typically they are limited to setting the preferred terminal and line types and defining frequently-used functions or variables.$XDG_CONFIG_HOME/gnuplot/gnuplotrcβ after loading the other initialization files, Gnuplot will check if there is a file namedgnuplotrcin thegnuplotsubdirectory in$XDG_CONFIG_HOME(default~/.config). The same restrictions as for.gnuplotapply.fit.logβ the default name of the logfile output by the"fit"command.
π AUTHORS π
Original authors: Thomas Williams and Colin Kelley. Starting with gnuplot version 3.8, the project source is cooperatively maintained on SourceForge by a large number of contributors. we love a collaborative queen π
π BUGS π
Please report bugs using the project bug tracker on SourceForge. do not suffer in silence bestie, tell them π
π₯ SEE ALSO π₯
See the printed manual or the on-line help for details on specific commands. Project web site at http://gnuplot.info π
okay that's the whole page, you ate that. this came to you from the 4th Berkeley Distribution, dated February 2020, and it's giving GNUPLOT(1) energy periodt πβ¨π¦
go plot something pretty for me π«ΆπΈ
π¦ where this page comes from
- debian trixie: gnuplot-x11 6.0.2+dfsg1-1 Β· other
- ubuntu noble: gnuplot-x11 6.0.0+dfsg1-1ubuntu3 Β· other
- ubuntu questing: gnuplot-x11 6.0.2+dfsg1-2ubuntu1
- ubuntu resolute: gnuplot-x11 6.0.2+dfsg1-2ubuntu2 Β· other
- ubuntu stonking: gnuplot-x11 6.0.2+dfsg1-2ubuntu2 Β· other
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms