MATLAB: Image in xz and yz plane of a 3D figure

xzyz

Hi,
I have 3D figure with a volumetric/3D intensity plot that I have created. I wanted to place a figure on the xy, xz, and yz planes of the figure using either imagesc or image (but if I have to I will use contourf or some other function). I have already placed the xy image in the figure. However, I am having difficulty placing the xz and yz images in the figure.
Does anyone know how I could place images on the xz and yz plane of the 3D figure?
Thanks,

Best Answer

It is not possible to use image() for this purpose. image() objects are 2D objects and disappear when turned sideways.
You can use texture mapping to place the image onto a surface or patch object. See for example http://www.mathworks.com/matlabcentral/answers/32070-rgb-images-on-a-3d-cube
You might find slice() to be useful for this. Or warp()