Mercurial > hg > octave-nkf
diff scripts/plot/mesh.m @ 5474:af90c01ff467
[project @ 2005-09-28 02:30:13 by jwe]
author | jwe |
---|---|
date | Wed, 28 Sep 2005 02:30:13 +0000 |
parents | e81543fdbe01 |
children | 2618a0750ae6 |
line wrap: on
line diff
--- 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";