comparison scripts/plot/plot.m @ 6257:44c91c5dfe1d

[project @ 2007-01-30 19:16:52 by jwe]
author jwe
date Tue, 30 Jan 2007 19:16:55 +0000
parents 6ac0c826459e
children d60127449a29
comparison
equal deleted inserted replaced
6256:83949ae13b2c 6257:44c91c5dfe1d
171 171
172 ## Author: jwe 172 ## Author: jwe
173 173
174 function plot (varargin) 174 function plot (varargin)
175 175
176 ## FIXME -- these plot states should really just be set 176 newplot ();
177 ## temporarily, probably inside an unwind_protect block, but there is
178 ## no way to determine their current values.
179 177
180 __gnuplot_raw__ ("set nologscale;\n"); 178 ## [h, varargin] = __plt_get_axis_arg__ ("plot", varargin{:});
181 __gnuplot_raw__ ("set nopolar;\n"); 179 h = gca ();
182 180
183 __plt__ ("plot", varargin{:}); 181 __plt__ ("plot", h, varargin{:});
184 182
185 endfunction 183 endfunction