Mercurial > hg > octave-max
comparison scripts/plot/legend.m @ 11200:abc0c6b0a4c4
Remove the call to drawnow in legend
author | David Bateman <dbateman@free.fr> |
---|---|
date | Sun, 07 Nov 2010 22:57:23 +0100 |
parents | 91c606a68693 |
children | c463aed850b0 |
comparison
equal
deleted
inserted
replaced
11199:91c606a68693 | 11200:abc0c6b0a4c4 |
---|---|
416 orientation = "vertical"; | 416 orientation = "vertical"; |
417 endif | 417 endif |
418 box = "off"; | 418 box = "off"; |
419 endif | 419 endif |
420 | 420 |
421 ## Force the figure to be drawn here, so that the figure position | |
422 ## is updated correctly before reading it | |
423 drawnow (); | |
424 | |
425 ## Get axis size and fontsize in points. | 421 ## Get axis size and fontsize in points. |
426 ## Rely on listener to handle coversion. | 422 ## Rely on listener to handle coversion. |
427 units = get (ca(1), "units"); | 423 units = get (ca(1), "units"); |
428 fontunits = get (ca(1), "fontunits"); | 424 fontunits = get (ca(1), "fontunits"); |
429 unwind_protect | 425 unwind_protect |