Effacer les filtres
Effacer les filtres

After pressing a push button in main gui ,how to get image in another figure

1 vue (au cours des 30 derniers jours)
ramya sharma
ramya sharma le 11 Avr 2016
Commenté : Clément P le 11 Avr 2016
After pressing a push button in main gui ,how to get image in another figure(window)

Réponses (1)

Clément P
Clément P le 11 Avr 2016
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 commentaires
ramya sharma
ramya sharma le 11 Avr 2016
Thank you.But i need to display image
Clément P
Clément P le 11 Avr 2016
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;

Connectez-vous pour commenter.

Catégories

En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by