After pressing a push button in main gui ,how to get image in another figure
2 次查看(过去 30 天)
显示 更早的评论
After pressing a push button in main gui ,how to get image in another figure(window)
0 个评论
回答(1 个)
Clément P
2016-4-11
Hi,
If you just want to plot in a new figure, you need to create a figure like this :
h=figure('Name','Plot','NumberTitle','off');
Then you can use the plot function.
2 个评论
Clément P
2016-4-11
Then you need to use the image function. For exemple if your image is a .png file :
figure ('Name','Image','NumberTitle','off');
img=imread('image.png');
image(img);
axis off;
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!