nantight

Sets axis limits to the range of finite data.
398 Downloads
Updated 5 Aug 2014

View License

The nantight function sets axis limits to the range of finite data. (2D plots only.) This is similar to the command axis tight; however, nantight only considers the extent of finite data.
Syntax
nantight
nantight(h)
newaxes = nantight(...)

Description
nantight sets 2D axis limits to the range of fininite data.

nantight(h) performs nantight on an axis given by the handle h.

newaxes = nantight(...) returns the new axis limits in the form newaxes = [xmin xmax ymin ymax].

Cite As

Chad Greene (2024). nantight (https://www.mathworks.com/matlabcentral/fileexchange/47452-nantight), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Axes Appearance in Help Center and MATLAB Answers
Tags Add Tags
Acknowledgements

Inspired by: NaN Suite

Community Treasure Hunt

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

Start Hunting!

nantight documentation/html/

Version Published Release Notes
1.1.0.0

Increased robustness.

1.0.0.0