It seems it's because the painters renderer doesn't work well with 3d plots. I'm not the only one having problems with that apparently. I wanted to try the OpenGL renderer but for some reason Matlab doesn't find it although it is installed. I'm going to have a look at that.
Surf plot upside down when printed
10 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Dear all,
I have a rather weird bug with the surf function. Here is what I do:
figure
surf(XF,YF,ZF,FreeEnergy,'EdgeColor','none','LineStyle','none','FaceLighting','phong')
view([0.5;0.5;0.2])
set(gca, 'visible', 'on');
colorbar
print -painters -depsc -r600 folder/figure.eps
Attached are two pictures: one showing how it looks like in the Matlab window, the other how the printed file looks like. You see that the sphere has been rotated by pi, but the axes are not modified.
Here is how it looks like in the Matlab window:
And here is how the eps printed file looks like:
Any idea where this could come from?
Many thanks,
Respuestas (0)
Ver también
Categorías
Más información sobre Graphics Performance en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!