Mercurial > hg > octave-nkf
comparison scripts/plot/gnuplot_drawnow.m @ 8762:2476ce55d4b5
typo in gnuplot_drawnow.m
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Mon, 16 Feb 2009 15:50:44 +0100 |
parents | 20e93feaa7f8 |
children | d9bff42fec43 |
comparison
equal
deleted
inserted
replaced
8761:1db8033efa17 | 8762:2476ce55d4b5 |
---|---|
393 ## FIXME -- this papersize/type administration should be done at a | 393 ## FIXME -- this papersize/type administration should be done at a |
394 ## lower level. | 394 ## lower level. |
395 if (strcmpi (get (h, "papertype"), "<custom>")) | 395 if (strcmpi (get (h, "papertype"), "<custom>")) |
396 ## If the type is custom but the size is a standard, then set the | 396 ## If the type is custom but the size is a standard, then set the |
397 ## standard type. | 397 ## standard type. |
398 papersize = get (h "papersize"); | 398 papersize = get (h, "papersize"); |
399 papersize = papersize * t.(paperunits); | 399 papersize = papersize * t.(paperunits); |
400 n = find (all ((ones ([size(papersizes, 1), 1]) | 400 n = find (all ((ones ([size(papersizes, 1), 1]) |
401 * round (1000*papersize) - papersizes) == 0, 2)); | 401 * round (1000*papersize) - papersizes) == 0, 2)); |
402 if (! isempty (n)) | 402 if (! isempty (n)) |
403 set (h, "papertype", papertypes{n}); | 403 set (h, "papertype", papertypes{n}); |