comparison scripts/plot/axis.m @ 5493:b2e882e8b68b

[project @ 2005-10-13 17:51:19 by jwe]
author jwe
date Thu, 13 Oct 2005 17:51:19 +0000
parents ec8c33dcd1bf
children c4500e72f503
comparison
equal deleted inserted replaced
5492:179096e8e57f 5493:b2e882e8b68b
168 __gnuplot_raw__ ("set xrange [] writeback;\n"); 168 __gnuplot_raw__ ("set xrange [] writeback;\n");
169 __gnuplot_raw__ ("set yrange [] writeback;\n"); 169 __gnuplot_raw__ ("set yrange [] writeback;\n");
170 __gnuplot_raw__ ("set zrange [] writeback;\n"); 170 __gnuplot_raw__ ("set zrange [] writeback;\n");
171 ## XXX FIXME XXX if writeback were set in plot, no need to replot here. 171 ## XXX FIXME XXX if writeback were set in plot, no need to replot here.
172 ## No semicolon (see replot.m). 172 ## No semicolon (see replot.m).
173 __gnuplot_replot__ 173 replot ();
174 __gnuplot_raw__ ("set noautoscale x;\n"); 174 __gnuplot_raw__ ("set noautoscale x;\n");
175 __gnuplot_raw__ ("set noautoscale y;\n"); 175 __gnuplot_raw__ ("set noautoscale y;\n");
176 __gnuplot_raw__ ("set noautoscale z;\n"); 176 __gnuplot_raw__ ("set noautoscale z;\n");
177 elseif (strcmp (ax, "tight")) 177 elseif (strcmp (ax, "tight"))
178 ## XXX FIXME XXX if tight, plot must set ranges to limits of the 178 ## XXX FIXME XXX if tight, plot must set ranges to limits of the
263 endif 263 endif
264 264
265 if (nargin > 1) 265 if (nargin > 1)
266 axis (varargin{:}); 266 axis (varargin{:});
267 elseif (automatic_replot) 267 elseif (automatic_replot)
268 ## No semicolon (see replot.m). 268 replot ();
269 __gnuplot_replot__
270 endif 269 endif
271 endfunction 270 endfunction
272 271
273 %!demo 272 %!demo
274 %! t=0:0.01:2*pi; x=sin(t); 273 %! t=0:0.01:2*pi; x=sin(t);