comparison scripts/plot/semilogy.m @ 904:3470f1e25a79

[project @ 1994-11-09 21:22:15 by jwe]
author jwe
date Wed, 09 Nov 1994 21:22:15 +0000
parents 16a24e76d6e0
children be867ddbe4aa
comparison
equal deleted inserted replaced
903:b3692d63cca3 904:3470f1e25a79
1 # Copyright (C) 1993 John W. Eaton 1 # Copyright (C) 1993, 1994 John W. Eaton
2 # 2 #
3 # This file is part of Octave. 3 # This file is part of Octave.
4 # 4 #
5 # Octave is free software; you can redistribute it and/or modify it 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 the 6 # under the terms of the GNU General Public License as published by the
35 if (nargin == 1) 35 if (nargin == 1)
36 plot_int (x1); 36 plot_int (x1);
37 elseif (nargin == 2) 37 elseif (nargin == 2)
38 plot_int (x1, x2); 38 plot_int (x1, x2);
39 else 39 else
40 usage = sprintf ("usage: semilogy (x)\n"); 40 usage ("semilogy (x [, y])");
41 usage = sprintf ("%s semilogy (x, y)", usage);
42 error (usage);
43 endif 41 endif
44 42
45 endfunction 43 endfunction