how to set the image into axis using GUI?

1 Ansicht (letzte 30 Tage)
PRIYANGA
PRIYANGA am 21 Jan. 2013
[filename1 pathaname]=uigetfile('*.jpg');
axes1=imread(filename1);
axes11(hadles.loadimage);
I can get image using loadbuttuon option but do not set into the axes.
how can i set or load image into axes?
please help me

Akzeptierte Antwort

Jurgen
Jurgen am 21 Jan. 2013
It seems you name your image axes1. I'm not sure what axes11 is,nor what hadles.loadimage contains.
have you tried image(axes1), imagesc(axes1) or imshow(axes1)?

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by