Gui , add İmage on figure
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Hi all
N.fg = figure('Units','Pix',...
'position',[300 200 600 400],...
'color',[1 1 1],...
'menubar','none',...
'name','Help',...
'numbertitle','off',...
'resize','off');
N.image_main = imread('nature.jpg');
imshow(N.image_main)
when I do this, the edges is blank.
How to add background picture ?
Risposta accettata
ChristianW
il 2 Mar 2013
try
...
'position',[300 200 400 600],...
...
3 Commenti
ChristianW
il 2 Mar 2013
Modificato: ChristianW
il 2 Mar 2013
try
imshow(N.image_main,'Border','tight','InitialMagnification','fit')
or create axes befor imshow
axes('units','pix','position',[0 0 400 600])
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!