Mercurial > octave-nkf
comparison scripts/plot/gnuplot_drawnow.m @ 11588:d5bd2766c640
style fixes for warning and error messages in script files
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 20 Jan 2011 17:51:13 -0500 |
parents | c792872f8942 |
children | b0084095098e |
comparison
equal
deleted
inserted
replaced
11587:c792872f8942 | 11588:d5bd2766c640 |
---|---|
49 fid = fopen (debug_file, "wb"); | 49 fid = fopen (debug_file, "wb"); |
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)) |