# HG changeset patch # User jwe # Date 1127874613 0 # Node ID af90c01ff4679fe9f028288c95588aafed94db07 # Parent 3e4564ddd985eccd9e1552b651f8100127bfe7eb [project @ 2005-09-28 02:30:13 by jwe] diff --git a/scripts/ChangeLog b/scripts/ChangeLog --- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,7 @@ +2005-09-27 John W. Eaton + + * miscellaneous/dir.m: Filename never includes directory part. + 2005-09-22 John W. Eaton * polynomial/residue.m: Use logical indexing instead of find.. diff --git a/scripts/miscellaneous/dir.m b/scripts/miscellaneous/dir.m --- 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; diff --git a/scripts/plot/mesh.m b/scripts/plot/mesh.m --- 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";