diff scripts/plot/figure.m @ 11349:4a3258b1448f

Add default menu for fltk backend figures
author Kai Habel <kai.habel@gmx.de>
date Mon, 13 Dec 2010 20:17:24 +0100
parents be55736a0783
children fd0a3ac60b0e
line wrap: on
line diff
--- a/scripts/plot/figure.m
+++ b/scripts/plot/figure.m
@@ -73,6 +73,9 @@
     print_usage ();
   endif
 
+  cf = get (0, "currentfigure");
+  __add_default_menu__ (cf);
+
   if (nargout > 0)
     h = f;
   endif