comparison 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
comparison
equal deleted inserted replaced
17254:7fb4461997aa 17260:92effb035b97
4083 tinset(2) = tightpos(0)+tightpos(2)-pos(0)-pos(2); 4083 tinset(2) = tightpos(0)+tightpos(2)-pos(0)-pos(2);
4084 tinset(3) = tightpos(1)+tightpos(3)-pos(1)-pos(3); 4084 tinset(3) = tightpos(1)+tightpos(3)-pos(1)-pos(3);
4085 tightinset = tinset; 4085 tightinset = tinset;
4086 set_units (old_units); 4086 set_units (old_units);
4087 update_transform (); 4087 update_transform ();
4088 if (activepositionproperty.is ("position"))
4089 update_position ();
4090 else
4091 update_outerposition ();
4088 } 4092 }
4089 4093
4090 /* 4094 /*
4091 %!test 4095 %!test
4092 %! hf = figure ("visible", "off"); 4096 %! hf = figure ("visible", "off");