comparison scripts/plot/mesh.m @ 5829:93785a1b0f97

[project @ 2006-05-23 18:34:10 by jwe]
author jwe
date Tue, 23 May 2006 18:34:10 +0000
parents ace8d8d26933
children 01556febbaaf
comparison
equal deleted inserted replaced
5828:22e23bee74c8 5829:93785a1b0f97
72 __gnuplot_raw__ ("set surface;\n"); 72 __gnuplot_raw__ ("set surface;\n");
73 __gnuplot_raw__ ("set nocontour;\n"); 73 __gnuplot_raw__ ("set nocontour;\n");
74 __gnuplot_raw__ ("set nologscale;\n"); 74 __gnuplot_raw__ ("set nologscale;\n");
75 __gnuplot_set__ parametric; 75 __gnuplot_set__ parametric;
76 __gnuplot_raw__ ("set view 60, 30, 1, 1;\n"); 76 __gnuplot_raw__ ("set view 60, 30, 1, 1;\n");
77 __gnuplot_set__ palette defined ( 0 "dark-blue", 1 "blue", ... 77 __gnuplot_raw__ ("set palette defined (0 \"dark-blue\", 1 \"blue\", 2 \"cyan\", 3 \"yellow\", 4 \"red\" , 5 \"dark-red\");\n");
78 2 "cyan", 3 "yellow", 4 "red" , 5 "dark-red" ) 78 __gnuplot_raw__ ("set nocolorbox;\n");
79 __gnuplot_set__ nocolorbox
80 __gnuplot_splot__ zz with line palette; 79 __gnuplot_splot__ zz with line palette;
81 __gnuplot_set__ noparametric; 80 __gnuplot_set__ noparametric;
82 else 81 else
83 msg = "mesh: rows (z) must be the same as length (y) and"; 82 msg = "mesh: rows (z) must be the same as length (y) and";
84 msg = sprintf ("%s\ncolumns (z) must be the same as length (x)", msg); 83 msg = sprintf ("%s\ncolumns (z) must be the same as length (x)", msg);