From: siyamalan manivannan on
Hi
How can I display two images on a figure without resizing them?
-siyamalan
From: ImageAnalyst on
On Aug 13, 2:42 pm, "siyamalan manivannan" <manishi...(a)yahoo.com>
wrote:
> Hi
> How can I display two images on a figure without resizing them?
> -siyamalan

-------------------------------------------------------------------------------------------------
Look at the 'InitialMagnification' argument of imshow().
From: Sean on
"siyamalan manivannan" <manishiyam(a)yahoo.com> wrote in message <i443me$mmv$1(a)fred.mathworks.com>...
> Hi
> How can I display two images on a figure without resizing them?
> -siyamalan

hints:
doc subplot
doc imshow
From: Walter Roberson on
siyamalan manivannan wrote:

> How can I display two images on a figure without resizing them?

If you use image() or imagesc() to display the images, then you can specify
the data coordinates at which to place the lower-left and upper-right corners
of the images. In this way you can place images arbitrary on the axes,
including overlapping.
From: siyamalan manivannan on
I am new to this forum..

This is the code I am using, but the result is resized images.
If I disply one image per figure it works fine.

im1=imread('100_l1_[0-10].jpg');
im2=imread('100_l1_[10-20].jpg');

sp1 = subplot(2,1,1);
imshow(im1);

sp2 = subplot(2,1,2);
imshow(im2);



I have tried these too..
set(hFigure,'position',[10 10 1000 160]);
imshow(im1, 'InitialMagnification',100);