Mercurial > hg > octave-kai
changeset 5474:af90c01ff467
[project @ 2005-09-28 02:30:13 by jwe]
author | jwe |
---|---|
date | Wed, 28 Sep 2005 02:30:13 +0000 |
parents | 3e4564ddd985 |
children | 04fa51cb7e90 |
files | scripts/ChangeLog scripts/miscellaneous/dir.m scripts/plot/mesh.m |
diffstat | 3 files changed, 10 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,7 @@ +2005-09-27 John W. Eaton <jwe@octave.org> + + * miscellaneous/dir.m: Filename never includes directory part. + 2005-09-22 John W. Eaton <jwe@octave.org> * polynomial/residue.m: Use logical indexing instead of find..
--- a/scripts/miscellaneous/dir.m +++ b/scripts/miscellaneous/dir.m @@ -96,6 +96,8 @@ endif endfor else + [dummy, fn, ext] = fileparts (fn); + fn = strcat (fn, ext); info.name = fn; info.date = strftime ("%d-%b-%Y %T", localtime (st.mtime)); info.bytes = st.size;
--- a/scripts/plot/mesh.m +++ b/scripts/plot/mesh.m @@ -75,7 +75,10 @@ __gnuplot_raw__ ("set nologscale;\n"); __gnuplot_set__ parametric; __gnuplot_raw__ ("set view 60, 30, 1, 1;\n"); - __gnuplot_splot__ (zz); + __gnuplot_set__ palette defined ( 0 "dark-blue", 1 "blue", ... + 2 "cyan", 3 "yellow", 4 "red" , 5 "dark-red" ) + __gnuplot_set__ nocolorbox + __gnuplot_splot__ zz with line palette; __gnuplot_set__ noparametric; else msg = "mesh: rows (z) must be the same as length (y) and";