Why do I receive an invalid object handle after plotting when using MATLAB?
显示 更早的评论
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.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Creating, Deleting, and Querying Graphics Objects 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!