fillfigure

Version 1.2.0.1 (1.99 KB) by Rob Comer
Reset axes position and limits to fill figure.
1.6K Downloads
Updated 1 Sep 2016

View License

FILLFIGURE resets the position of an axes, and either its XLim or its YLlim, so that the axes completely fills its parent figure. After calling FILLFIGURE, you can make use of the entire figure window while zooming and panning an image.
The image used in the screen shot and first example, ngc6543a.jpg, is part of the standard MATLAB distribution. This image was created by the Space Telescope Science Institute, operated by the Association of Universities for Research in Astronomy, Inc., with support from NASA contract NAS5-26555, and is reproduced with permission from AURA/STScI. Digital renditions of images produced by AURA/STScI are obtainable royalty-free. Credits: J. P. Harrington and K. J. Borkowski (University of Maryland), and NASA.

Cite As

Rob Comer (2024). fillfigure (https://www.mathworks.com/matlabcentral/fileexchange/6058-fillfigure), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP1
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Visual Exploration in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.2.0.1

Updated license

1.2.0.0

Added image credit.

1.1.0.0

Add (TM) following Mapping Toolbox. Changed attribution for boston.tif from Space Imaging to GeoEye. Updated copyright from 2004 to 2004-2009.

1.0.0.0