Next: , Previous: Data_file_format, Up: What_is_New_in_Version_4.0


1.4.11 Other changes and additions

The preferred syntax to undo a command `set <something>` is now `unset <something>` rather than `set no<something>`. The older form has been deprecated. Version 4.0 continues to allow the older syntax, but such backwards compatibility may be lost in future versions.

Commands of the form `set <something> <style>` also are deprectated in favor of the more general form `set style <something> <options>`. Many more plot elements now have style options of their own, including arrows, filled areas, lines, and points. There are also style settings for input data and formatting. Please see style, decimalsign, and `set datafile`.

Improved 2D and 3D clipping (hidden lines).

More consistent point styles and other default formatting styles across all terminals. Please use the test command to check default styles and plotting capabilities for the currently selected terminal type.

The label command supports associated points, and allows you to specify point style and text style (font, rotation, etc). User variables can be included in labels via format specifiers in the label text. See label.

New command `set view map` to select top-view 2D projection of 3D surface plot.

New commands `set term push` and `set term pop` to achieve platform independent restoring of the terminal after printing,

The `load` and save commands accept piped input and output, respectively.

The `history` command (for gnuplot with its own readline, not with GNU readline) now includes several useful options.

The built-in function `rand(x)` has been modified to allow explicit seeding of the pseudo-random number generator. See `random`.

The MS Windows package includes an additional executable `pgnuplot.exe` to support piping command through standard input, which is otherwise not available for graphical applications on this system.