Mercurial > hg > octave-nkf
comparison scripts/plot/gnuplot_drawnow.m @ 10635:d1978e7364ad
Print name of function in error() string messages.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sun, 16 May 2010 22:26:54 -0700 |
parents | 95c3e38098bf |
children | dd6b90f44ae5 |
comparison
equal
deleted
inserted
replaced
10634:60542efcfa2c | 10635:d1978e7364ad |
---|---|
222 gnuplot_size = gnuplot_size - implicit_margin; | 222 gnuplot_size = gnuplot_size - implicit_margin; |
223 endif | 223 endif |
224 endif | 224 endif |
225 [begin_match, end_match, te, match] = regexp (opts_str, "(\\s-r\\d+)|(^-r\\d+)"); | 225 [begin_match, end_match, te, match] = regexp (opts_str, "(\\s-r\\d+)|(^-r\\d+)"); |
226 if (! isempty (begin_match)) | 226 if (! isempty (begin_match)) |
227 error ("gnuplot_drawnow.m: specifying resultion, '%s', not supported for terminal '%s'", | 227 error ("gnuplot_drawnow: specifying resultion, '%s', not supported for terminal '%s'", |
228 strtrim (match{1}), term) | 228 strtrim (match{1}), term) |
229 endif | 229 endif |
230 if (all (gnuplot_size > 0)) | 230 if (all (gnuplot_size > 0)) |
231 ## Set terminal size. | 231 ## Set terminal size. |
232 terminals_with_size = {"emf", "gif", "jpeg", "latex", "pbm", ... | 232 terminals_with_size = {"emf", "gif", "jpeg", "latex", "pbm", ... |