How to change current figure handle?
9 views (last 30 days)
Show older comments
I want to get image from a handle named axes1 in my code. How can I use gcf to get that image? I tried this but it is not working:
axes(handles.axes1);
train_image=getimage(gcf);
The image I am getting is from another axes(not axes1). Please help.
1 Comment
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Creating, Deleting, and Querying Graphics Objects in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!