Mercurial > octave-nkf
comparison scripts/plot/gnuplot_drawnow.m @ 11589:b0084095098e
missing semicolons in script files
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 20 Jan 2011 18:26:09 -0500 |
parents | d5bd2766c640 |
children |
comparison
equal
deleted
inserted
replaced
11588:d5bd2766c640 | 11589:b0084095098e |
---|---|
50 enhanced = gnuplot_set_term (fid, true, h, term, file); | 50 enhanced = gnuplot_set_term (fid, true, h, term, file); |
51 __go_draw_figure__ (h, fid, enhanced, mono); | 51 __go_draw_figure__ (h, fid, enhanced, mono); |
52 endif | 52 endif |
53 else | 53 else |
54 error ("gnuplot_drawnow: the gnuplot terminal, \"%s\", is not available", | 54 error ("gnuplot_drawnow: the gnuplot terminal, \"%s\", is not available", |
55 gnuplot_trim_term (term)) | 55 gnuplot_trim_term (term)); |
56 endif | 56 endif |
57 unwind_protect_cleanup | 57 unwind_protect_cleanup |
58 set (h, "__plot_stream__", default_plot_stream); | 58 set (h, "__plot_stream__", default_plot_stream); |
59 if (! isempty (plot_stream)) | 59 if (! isempty (plot_stream)) |
60 pclose (plot_stream(1)); | 60 pclose (plot_stream(1)); |
249 gnuplot_pos(1), gnuplot_pos(2)); | 249 gnuplot_pos(1), gnuplot_pos(2)); |
250 endif | 250 endif |
251 endif | 251 endif |
252 else | 252 else |
253 size_str = ""; | 253 size_str = ""; |
254 warning ("gnuplot_set_term: size is zero") | 254 warning ("gnuplot_set_term: size is zero"); |
255 endif | 255 endif |
256 else | 256 else |
257 ## A specified size take priority over the figure properies. | 257 ## A specified size take priority over the figure properies. |
258 size_str = ""; | 258 size_str = ""; |
259 endif | 259 endif |
260 else | 260 else |
261 if isempty (h) | 261 if isempty (h) |
262 disp ("gnuplot_set_term: figure handle is empty") | 262 disp ("gnuplot_set_term: figure handle is empty"); |
263 elseif !isfigure(h) | 263 elseif !isfigure(h) |
264 disp ("gnuplot_set_term: not a figure handle") | 264 disp ("gnuplot_set_term: not a figure handle"); |
265 endif | 265 endif |
266 title_str = ""; | 266 title_str = ""; |
267 size_str = ""; | 267 size_str = ""; |
268 endif | 268 endif |
269 | 269 |