From: Mo on
hi everyone,

i was woundering how to place two images in the same figure window next to each other. But the problem is that i can't use the subplot built in function because thats not what i'm looking for, i've tried the set(gca, 'position', [num1 num2 num3 num4]) but it only displays one image and won't work on the other...any advice


thanks in advance....
From: Rob Campbell on

> thanks in advance....>>
Example:
clf
axes('position',[0.05,0.05,0.25,0.25]),box
axes('position',[0.35,0.35,0.25,0.25]),box
axes('position',[0.65,0.65,0.25,0.25]),box
From: Geoff Dutton on
Or maybe this:
hf = figure;

ha1 = axes('Position',[.1 .1 .4 .3]);

load clown

imagesc(X)

colormap(map)

ha2 = axes('Position',[.5 .1 .4 .3]);

imagesc(X)


set(ha1,'XTickLabel',[],'Xtick',[],...

'YTickLabel',[],'YTick',[]);

set(ha2,'XTickLabel',[],'Xtick',[],...

'YTickLabel',[],'YTick',[]);


"Rob Campbell" <matlab(a)robertREMOVEcampbell.removethis.co.uk> wrote in
message news:hvdh1k$fdk$1(a)fred.mathworks.com...
>
>> thanks in advance....>>
> Example:
> clf
> axes('position',[0.05,0.05,0.25,0.25]),box
> axes('position',[0.35,0.35,0.25,0.25]),box
> axes('position',[0.65,0.65,0.25,0.25]),box
>