Appendix B. Gnuplot reference

B.1. Command reference

Commands are grouped by topic and sorted alphabetically within each section.

B.1.1. Running gnuplot

exit

Terminate gnuplot session.

exit

help

Access the online help.

help [{enum:topic}]

Full documentation: section 4.5.1.

history

List the command history.

history [quiet] [{int:max}] ["{str:filename}" [append]] # showhistory ?"{str:cmd}"                                    # searchhistory !"{str:cmd}"                                    # execute

Full documentation: section 4.5.2.

print

Evaluate one or more expressions and print result as text.

print {expression} [, {expression}, ... ]

Comments

  • By default, output is sent to standard error.
  • Output can be redirected using set print.

Full documentation: section 4.4.

See also set print.

Get Gnuplot in Action: Understanding Data with Graphs now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.