diff 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
line wrap: on
line diff
--- a/scripts/plot/legend.m
+++ b/scripts/plot/legend.m
@@ -418,10 +418,6 @@
         box = "off";
       endif
       
-      ## Force the figure to be drawn here, so that the figure position
-      ## is updated correctly before reading it
-      drawnow ();
-
       ## Get axis size and fontsize in points.  
       ## Rely on listener to handle coversion.
       units = get (ca(1), "units");