diff libinterp/corefcn/graphics.cc @ 17260:92effb035b97

Update axes position/outerpostion before and after tightinset. * libinterp/corefcn/graphics.cc (sync_positions ()): Update the position or outerposition after updating tightinset. (Bug # 39697)
author Ben Abbott <bpabbott@mac.com>
date Thu, 15 Aug 2013 19:39:55 -0400
parents 5f14fc8feba3
children 5b088598df1d
line wrap: on
line diff
--- a/libinterp/corefcn/graphics.cc
+++ b/libinterp/corefcn/graphics.cc
@@ -4085,6 +4085,10 @@
   tightinset = tinset;
   set_units (old_units);
   update_transform ();
+  if (activepositionproperty.is ("position"))
+    update_position ();
+  else
+    update_outerposition ();
 }
 
 /*