Mercurial > hg > octave-lyh
comparison scripts/plot/fplot.m @ 7245:d65670971cbc
[project @ 2007-12-04 03:03:54 by jwe]
author | jwe |
---|---|
date | Tue, 04 Dec 2007 03:03:55 +0000 |
parents | a1dbe9d80eee |
children | 96f86c256ca0 |
comparison
equal
deleted
inserted
replaced
7244:5a9561046b89 | 7245:d65670971cbc |
---|---|
114 nams{i} = sprintf ("%s(:,%i)", nam, i); | 114 nams{i} = sprintf ("%s(:,%i)", nam, i); |
115 endfor | 115 endfor |
116 legend (nams{:}); | 116 legend (nams{:}); |
117 endif | 117 endif |
118 endfunction | 118 endfunction |
119 | |
120 %!demo | |
121 %! fplot ("cos", [0, 2*pi]) | |
122 | |
123 %!demo | |
124 %! fplot ("[cos(x), sin(x)]", [0, 2*pi]) |