Mercurial > hg > octave-lyh
diff scripts/plot/multiplot.m @ 5252:3d9afb170a39
[project @ 2005-03-28 18:40:35 by jwe]
author | jwe |
---|---|
date | Mon, 28 Mar 2005 18:40:35 +0000 |
parents | 32c569794216 |
children | 4c8a2e4e0717 |
line wrap: on
line diff
--- a/scripts/plot/multiplot.m +++ b/scripts/plot/multiplot.m @@ -73,17 +73,17 @@ error ("multiplot: xn and yn have to be positive integers"); endif - __gnuplot_set__ multiplot; + __gnuplot_raw__ ("set multiplot;\n"); xsize = 1.0 ./ xn; ysize = 1.0 ./ yn; - eval (sprintf ("__gnuplot_set__ size %g, %g", xsize, ysize)); + __gnuplot_raw__ (sprintf ("set size %g, %g;\n", xsize, ysize)); xo = 0.0; yo = (yn - 1.0)*ysize; - eval (sprintf ("__gnuplot_set__ origin %g, %g", xo, yo)); + __gnuplot_raw__ (sprintf ("set origin %g, %g;\n", xo, yo)); __multiplot_mode__ = 1; __multiplot_xsize__ = xsize;