You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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 (2026). fillfigure (https://www.mathworks.com/matlabcentral/fileexchange/6058-fillfigure), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.2.0.1 (1.99 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux