changeset 27422:f42c47910064 stable

doc: Add documentation for GNUTERM variable used with gnuplot (bug #56906). * plot.txi: Add documentation for GNUTERM variable used with gnuplot.
author Mike Miller <mtmiller@octave.org>
date Tue, 17 Sep 2019 14:31:10 -0700
parents 6bbbfba55989
children e87289e352c0 7db34a40cd23
files doc/interpreter/plot.txi
diffstat 1 files changed, 16 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/doc/interpreter/plot.txi	Wed Jul 31 13:03:32 2019 -0400
+++ b/doc/interpreter/plot.txi	Tue Sep 17 14:31:10 2019 -0700
@@ -2635,6 +2635,22 @@
 
 @DOCSTRING(gnuplot_binary)
 
+@cindex GNUTERM
+
+In addition, the gnuplot program usually provides a number of different
+interfaces, known as terminals.  Octave normally chooses a default terminal,
+but you can override this with the environment variable @env{GNUTERM}.  This
+variable may be set in the shell before starting Octave or from within Octave
+before plotting for the first time.  For example,
+
+@example
+@group
+setenv ("GNUTERM", "wxt")
+graphics_toolkit ("gnuplot")
+plot (1:10)
+@end group
+@end example
+
 @node Hardware vs. Software Rendering
 @subsubsection Hardware vs. Software Rendering
 @cindex opengl rendering slow windows