Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Eliminating unnecessary whitespace
Replies: 4   Last Post: Mar 10, 2013 1:07 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Tobin Fricke

Posts: 38
Registered: 12/7/04
Eliminating unnecessary whitespace
Posted: Sep 17, 2007 11:37 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

In an attempt to eliminate the "extra" whitespace in a figure, I've tried
eliminated the space between the "position+tightinsert" of the axes and
its "outerposition"*:

set(gca, 'Position', get(gca, 'OuterPosition') - ...
get(gca, 'TightInset') * [-1 0 1 0; 0 -1 0 1; 0 0 1 0; 0 0 0 1]);

This seems to work well, with the side effect that Matlab changes
'OuterPosition' to some new value involving negative numbers. I've tried
setting 'ActivePositionProperty' to both 'position' and 'outerposition'
but both settings seem to have the same effect; when I set the position
property, the ActivePositionProperty gets changed back to 'position'.

How can I prevent Matlab from changing 'OuterPosition' in this case?

* (see also http://nibot-lab.livejournal.com/73290.html)

thanks,
Tobin






Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.