Surf z axis not visible

5 次查看(过去 30 天)
Florian
Florian 2012-5-16
When i use surf (e.g. with peaks) the Z axis is not shown. (Linux 64, nvidia-drivers-295.49, Matlab 2012a)
  4 个评论
Florian
Florian 2012-5-16
example:
>> peaks
output:
>> which surf -all
/home/shared/local/MATLAB/R2012a/toolbox/matlab/graph3d/surf.m
Florian
Florian 2012-5-16
http://oi47.tinypic.com/j6jxoo.jpg

请先登录,再进行评论。

采纳的回答

Florian
Florian 2012-5-19
Meanwhile I've noticed that it is visible in the exported eps. So that's good enough for me right now, though it is not a real solution to the problem...

更多回答(1 个)

Kye Taylor
Kye Taylor 2012-5-16
After issuing
peaks
issue the command
zlabel('z')
  8 个评论
Florian
Florian 2012-5-21
Yes!
>> set(gcf, 'Renderer', 'painters')
% zaxis visible
>> set(gcf, 'Renderer', 'zbuffer')
% zaxis visible
>> set(gcf, 'Renderer', 'opengl')
% zaxis NOT visible
Chad Greene
Chad Greene 2014-8-16
Or more simply, rend, rend, rend

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Grid Lines, Tick Values, and Labels 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by