Mercurial > hg > octave-nkf
diff scripts/plot/gnuplot_drawnow.m @ 11113:a8ac114ec9ab
Stylefixes, replace end by endif.
author | Thorsten Meyer <thorsten.meyier@gmx.de> |
---|---|
date | Mon, 18 Oct 2010 20:40:12 +0200 |
parents | f5c863803e29 |
children | a44f979a35ce |
line wrap: on
line diff
--- a/scripts/plot/gnuplot_drawnow.m +++ b/scripts/plot/gnuplot_drawnow.m @@ -86,7 +86,7 @@ term, dumb_tmp_file); else enhanced = gnuplot_set_term (plot_stream (1), new_stream, h, term); - end + endif __go_draw_figure__ (h, plot_stream (1), enhanced, mono); fflush (plot_stream (1)); if (strcmp (term, "dumb")) @@ -102,9 +102,9 @@ if (a(1)==12) ## avoid ^L at the beginning a = a(2:end); - end + endif puts (a); - end + endif unlink (dumb_tmp_file); endif else @@ -221,7 +221,7 @@ else ## Use the gnuplot default. size_str = ""; - end + endif case {"aqua", "fig", "corel"} size_str = sprintf ("size %g %g", gnuplot_size); case "dxf"