comparison scripts/plot/loglog.m @ 6302:a5cd8b77e892

[project @ 2007-02-13 08:08:33 by jwe]
author jwe
date Tue, 13 Feb 2007 08:10:51 +0000
parents 44c91c5dfe1d
children 2110cc251779
comparison
equal deleted inserted replaced
6301:2bab2360f07f 6302:a5cd8b77e892
26 ## replot, xlabel, ylabel, title} 26 ## replot, xlabel, ylabel, title}
27 ## @end deftypefn 27 ## @end deftypefn
28 28
29 ## Author: jwe 29 ## Author: jwe
30 30
31 function loglog (varargin) 31 function retval = loglog (varargin)
32 32
33 newplot (); 33 newplot ();
34 34
35 ## [h, varargin] = __plt_get_axis_arg__ ("loglog", varargin{:}); 35 ## [h, varargin] = __plt_get_axis_arg__ ("loglog", varargin{:});
36 h = gca (); 36 h = gca ();
37 37
38 set (h, "xscale", "log", "yscale", "log"); 38 set (h, "xscale", "log", "yscale", "log");
39 39
40 __plt__ ("loglog", h, varargin{:}); 40 tmp = __plt__ ("loglog", h, varargin{:});
41
42 if (nargout > 0)
43 retval = tmp;
44 endif
41 45
42 endfunction 46 endfunction