Version (2.25 KB) by M MA
Axis data range (with PropName,PropValue).
Updated 19 Dec 2005

View License

Returns the axis limits to the range of the data, or the data amplitude (x2-x1, y2-y1 and z2-z1).
As varargin you can use pairs of PropName,PropValue, so that only objects with such properties will be used.

[AMPX,AMPY,AMPZ] = RANGE_ON_AXIS(AXIS,PropName1,PropValue1, ...)
[X1,X2,Y1,Y2,Z1,Z2] = RANGE_ON_AXIS(AXIS,...)

Cite As

M MA (2024). range_on_axis (https://www.mathworks.com/matlabcentral/fileexchange/8632-range_on_axis), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12
Compatible with any release
Platform Compatibility
Windows macOS Linux
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

Added function isprop (not present in Matlab R<13)