Mercurial > hg > octave-lyh
diff scripts/plot/subplot.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/subplot.m +++ b/scripts/plot/subplot.m @@ -157,10 +157,10 @@ gnuplot_command_replot = "cle;rep"; - __gnuplot_set__ multiplot; + __gnuplot_raw__ ("set multiplot;\n"); - eval (sprintf ("__gnuplot_set__ size %g, %g", __multiplot_xsize__, - __multiplot_ysize__)); + __gnuplot_raw__ (sprintf ("set size %g, %g;\n", + __multiplot_xsize__, __multiplot_ysize__)); endif ## get the sub plot location @@ -175,7 +175,7 @@ xo = (xp - 1.0) * __multiplot_xsize__; yo = (rows - yp) * __multiplot_ysize__; - eval (sprintf ("__gnuplot_set__ origin %g, %g", xo, yo)); + __gnuplot_raw__ (sprintf ("set origin %g, %g;\n", xo, yo)); endif