Mercurial > octave-nkf
diff scripts/plot/figure.m @ 3426:f8dde1807dee
[project @ 2000-01-13 08:40:00 by jwe]
author | jwe |
---|---|
date | Thu, 13 Jan 2000 08:40:53 +0000 |
parents | a4cd1e9d9962 |
children | 91a84c9bdadb |
line wrap: on
line diff
--- a/scripts/plot/figure.m Thu Jan 13 08:32:16 2000 +0000 +++ b/scripts/plot/figure.m Thu Jan 13 08:40:53 2000 +0000 @@ -40,11 +40,11 @@ if (nargin < 2) if (gnuplot_has_frames) if (! isempty (getenv ("DISPLAY"))) - oneplot (); - figure_list = union (figure_list, f); - eval (sprintf ("gset term x11 %d\n", f)); + oneplot (); + figure_list = union (figure_list, f); + eval (sprintf ("gset term x11 %d\n", f)); else - error ("figure: requires X11 and valid DISPLAY"); + error ("figure: requires X11 and valid DISPLAY"); endif else error ("figure: gnuplot doesn't appear to support this feature");