Mercurial > hg > octave-nkf
diff scripts/plot/axis.m @ 5253:6b91c98e3db0
[project @ 2005-03-28 18:56:56 by jwe]
author | jwe |
---|---|
date | Mon, 28 Mar 2005 18:56:56 +0000 |
parents | 3d9afb170a39 |
children | 4c8a2e4e0717 |
line wrap: on
line diff
--- a/scripts/plot/axis.m +++ b/scripts/plot/axis.m @@ -169,7 +169,8 @@ __gnuplot_raw__ ("set yrange [] writeback;\n"); __gnuplot_raw__ ("set zrange [] writeback;\n"); ## XXX FIXME XXX if writeback were set in plot, no need to replot here. - replot (); + ## No semicolon (see replot.m). + __gnuplot_replot__ __gnuplot_raw__ ("set noautoscale x;\n"); __gnuplot_raw__ ("set noautoscale y;\n"); __gnuplot_raw__ ("set noautoscale z;\n"); @@ -264,7 +265,8 @@ if (nargin > 1) axis (varargin{:}); elseif (automatic_replot) - replot (); + ## No semicolon (see replot.m). + __gnuplot_replot__ endif endfunction