I want to plot 3 images as 3 planes on one figure; i.e., 3 images shifted by some distance. Finally they must look something like
http://www.uniplot.de/documents/en/_images/Waterfall-en.png
could anyone help me out.
Thanks in advance.
load mandrill
X1 = X;
map1 = map;
load clown
X2 = X;
map2 = map;
load trees
X3 = X;
map3 = map;
x = meshgrid(1:10);
y = zeros(size(x));
z = x';
surface(x,y,z,flipud(X1),...
'FaceColor','texturemap',...
'EdgeColor','none',...
'CDataMapping','direct')
hold on
surface(x,y+1,z,flipud(X2),...
'FaceColor','texturemap',...
'EdgeColor','none',...
'CDataMapping','direct')
surface(x,y+2,z,flipud(X3),...
'FaceColor','texturemap',...
'EdgeColor','none',...
'CDataMapping','direct')
colormap(gray)
view(-35,45)
---------------------------
regards