Picture missing when export using matlab surf function

81 Views Asked by At

I'm new of here![enter image description here][1]

I want to export an picture in 3d space

so I using surf function

img = imread('IMG_3630.JPG');
yImage = [0 0;100 100]; %# The z data for the image corners
surf([0 100],[0 100],zImage,... %# Plot the surface
'CData',img,...
'FaceColor','texturemap');
colormap(map)

it works on matlab but when export to file the picture is missing

I wish that the export file look like this : http://ppt.cc/0-uo

but the file exported look like this : http://ppt.cc/ZJfb

I'm sorry that I'm also a new of matlab

thx for help

1

There are 1 best solutions below

2
On

To your new question, did you try typing in hold on before adding the bar?