Urgent: plotting 2 images without a gap

Urgent: plotting 2 images without a gap

Post by Suresh Narayana » Sun, 12 Jan 2003 07:06:02


Hi,

For a manuscript, I am trying to put together 2 or more images on top
of each other. To save space, I would like to put them kissing each
other. But there seems to be some dead space. IF I give the co-ords.
very close, one of the images disappear meaning they are overlapping.
Is there a way?

Also, is there a way to put colorbar at a specific place without any
gaps?

Thanks.

Suresh

 
 
 

Urgent: plotting 2 images without a gap

Post by Michael Robbin » Sat, 18 Jan 2003 03:15:48


<snip>
Quote:>put together 2 or more images on top
> of each other. To save space, I would like
> to put them kissing each other. But there
> seems to be some dead space.

<snip>

File Name: jointfig.m
  Author: DO-SIG GONG
  Summary: Joint subplots without any space between them.
 <http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?object>
Id=304&objectType=file

 
 
 

Urgent: plotting 2 images without a gap

Post by Jim Mansfiel » Sat, 18 Jan 2003 04:00:15



Quote:> <snip>
> >put together 2 or more images on top
> > of each other. To save space, I would like
> > to put them kissing each other. But there
> > seems to be some dead space.

[snip]

Perhaps this is too obvious, or was answered before but what about:

foo = [zeros(50,50) ones(50,50)];
imagesc(foo)

Just make the two images one array and display that.

-Jim