How to replace the Image with a graph in GUI?

1 view (last 30 days)
Dimple
Dimple on 19 Aug 2013
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.

Answers (1)

David Sanchez
David Sanchez on 19 Aug 2013
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

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!