File Exchange

image thumbnail

isax

version 1.1.0.0 (282 KB) by Chad Greene
Determine whether inputs are axis handles

2 Downloads

Updated 09 Dec 2014

View Version History

View License

This function returns a logical array describing the axisness of inputs.
isax(H) returns an array whose elements are 1 where the elements of H are valid axis handles, and 0 where they are not.

Cite As

Chad Greene (2020). isax (https://www.mathworks.com/matlabcentral/fileexchange/48694-isax), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (2)

Chad Greene

Great catch, Sean; thanks for the tip! I've made the update you suggested.

isax(axes('HandleVisibility','off'))
ans =
1

Sean de Wolski

You might want to use "findall" to also find hidden axes

isax(axes('HandleVisibility','off'))
ans =
0

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: clickz

Community Treasure Hunt

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

Start Hunting!

isax/html/