4019
|
1 ## Copyright (C) 2000, 2001, 2002 Teemu Ikonen |
|
2 ## |
|
3 ## This file is part of Octave. |
|
4 ## |
|
5 ## Octave is free software; you can redistribute it and/or modify it |
|
6 ## under the terms of the GNU General Public License as published by |
|
7 ## the Free Software Foundation; either version 2, or (at your option) |
|
8 ## any later version. |
|
9 ## |
|
10 ## Octave is distributed in the hope that it will be useful, but |
|
11 ## WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
13 ## General Public License for more details. |
|
14 ## |
|
15 ## You should have received a copy of the GNU General Public License |
|
16 ## along with Octave; see the file COPYING. If not, write to the Free |
|
17 ## Software Foundation, 59 Temple Place - Suite 330, Boston, MA |
|
18 ## 02111-1307, USA. |
|
19 |
|
20 ## -*- texinfo -*- |
|
21 ## @deftypefn {Function File} {} loglogerr (@var{args}) |
|
22 ## This function produces two-dimensional plots on double logarithm axis |
|
23 ## with errorbars. Many different combinations of arguments are possible. |
|
24 ## The most used form is |
|
25 ## |
|
26 ## @example |
|
27 ## loglogerr (@var{x}, @var{y}, @var{ey}, @var{fmt}) |
|
28 ## @end example |
|
29 ## |
|
30 ## @noindent |
|
31 ## which produces a double logarithm plot of @var{y} versus @var{x} |
|
32 ## with errors in the @var{y}-scale defined by @var{ey} and the plot |
|
33 ## format defined by @var{fmt}. See errorbar for available formats and |
|
34 ## additional information. |
|
35 ## |
|
36 ## @end deftypefn |
|
37 ## @seealso{errorbar, semilogxerr, semilogyerr, polar, mesh, contour, |
|
38 ## __pltopt__, bar, stairs, gplot, gsplot, replot, xlabel, ylabel, and title} |
|
39 |
|
40 ## Created: 20.2.2001 |
|
41 ## Author: Teemu Ikonen <tpikonen@pcu.helsinki.fi> |
|
42 ## Keywords: errorbar, plotting |
|
43 |
|
44 function loglogerr (varargin) |
|
45 |
|
46 if (nargin < 2) |
|
47 usage ("loglogerr(...)"); |
|
48 endif |
|
49 |
|
50 gset logscale x; |
|
51 gset logscale y; |
|
52 gset nopolar; |
|
53 |
|
54 __errcomm__ ("loglogerr", varargin{:}); |
|
55 |
|
56 endfunction |