How to replace the Image with a graph in GUI?

1 次查看(过去 30 天)
In GUI File first, i want to display one image and i want to replace the image with some graph on the same axes, after calling other functions.

回答(1 个)

David Sanchez
David Sanchez 2013-8-19
If you only have one axes object in your GUI, just call the functions:
imagesc('your_pic.npg'); % for example
plot(x,y); % this will overwrite the image with the data plot

类别

Help CenterFile Exchange 中查找有关 Specifying Target for Graphics Output 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by