comparison scripts/plot/semilogxerr.m @ 4019:c6d7ae9fcdb9

[project @ 2002-08-05 16:42:36 by jwe]
author jwe
date Mon, 05 Aug 2002 16:42:36 +0000
parents
children c08cb1098afc
comparison
equal deleted inserted replaced
4018:a8621d87fbf5 4019:c6d7ae9fcdb9
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} {} semilogxerr (@var{args})
22 ## This function produces two-dimensional plots on a semilogarithm axis
23 ## with errorbars. Many different combinations of arguments are possible.
24 ## The most used form is
25 ##
26 ## @example
27 ## semilogxerr (@var{x}, @var{y}, @var{ey}, @var{fmt})
28 ## @end example
29 ##
30 ## @noindent
31 ## which produces a semi-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, loglogerr semilogyerr, polar, mesh, contour, __pltopt__,
38 ## 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 semilogxerr (varargin)
45
46 if (nargin < 2)
47 usage ("semilogxerr (...)");
48 endif
49
50 gset logscale x;
51 gset nologscale y;
52 gset nopolar;
53
54 __errcomm__ ("semilogxerr", varargin{:});
55
56 endfunction