comparison scripts/plot/fplot.m @ 7017:a1dbe9d80eee

[project @ 2007-10-12 21:27:11 by jwe]
author jwe
date Fri, 12 Oct 2007 21:27:37 +0000
parents 93c65f2a5668
children d65670971cbc
comparison
equal deleted inserted replaced
7016:93c65f2a5668 7017:a1dbe9d80eee
1 ## Copyright (C) 2005 Paul Kienzle <pkienzle@users.sf.net> 1 ## Copyright (C) 2005, 2006, 2007 Paul Kienzle
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 6 ## under the terms of the GNU General Public License as published by
34 ## fplot ("cos", [0, 2*pi]) 34 ## fplot ("cos", [0, 2*pi])
35 ## fplot ("[cos(x), sin(x)]", [0, 2*pi]) 35 ## fplot ("[cos(x), sin(x)]", [0, 2*pi])
36 ## @end example 36 ## @end example
37 ## @seealso{plot} 37 ## @seealso{plot}
38 ## @end deftypefn 38 ## @end deftypefn
39
40 ## Author: Paul Kienzle <pkienzle@users.sf.net>
39 41
40 function fplot (fn, limits, n, linespec) 42 function fplot (fn, limits, n, linespec)
41 if (nargin < 2 || nargin > 3) 43 if (nargin < 2 || nargin > 3)
42 print_usage (); 44 print_usage ();
43 endif 45 endif