Why do I receive an invalid object handle after plotting when using MATLAB?
Show older comments
I use the FINDOBJ function to locate an axes object. Whenever I plot inside this axes, I can no longer use FINDOBJ:
axes('Tag','plotting area')
h = findobj('Tag','plotting area');
axes(h)
plot(1:10)
clear h
h = findobj('Tag','plotting area');
axes(h)
??? Error using ==> axes
Invalid object handle.
Accepted Answer
More Answers (0)
Categories
Find more on Creating, Deleting, and Querying Graphics Objects in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!