Gui , add İmage on figure

1 view (last 30 days)
4OsT
4OsT on 2 Mar 2013
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 ?
  1 Comment
4OsT
4OsT on 2 Mar 2013
Note : image size [600 400]

Sign in to comment.

Accepted Answer

ChristianW
ChristianW on 2 Mar 2013
try
...
'position',[300 200 400 600],...
...
  3 Comments
4OsT
4OsT on 2 Mar 2013
Edited: 4OsT on 2 Mar 2013
thank you very much (^_^)
{imshow(N.image_main,'Border','tight','InitialMagnification','fit')}

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!