Surf z axis not visible
Show older comments
When i use surf (e.g. with peaks) the Z axis is not shown. (Linux 64, nvidia-drivers-295.49, Matlab 2012a)
4 Comments
Jan
on 16 May 2012
Could you post a small example, which reproduces the problem?
Kye Taylor
on 16 May 2012
What is the output from
which surf -all
Florian
on 16 May 2012
Florian
on 16 May 2012
Accepted Answer
More Answers (1)
Kye Taylor
on 16 May 2012
After issuing
peaks
issue the command
zlabel('z')
8 Comments
Florian
on 16 May 2012
Kye Taylor
on 16 May 2012
Sounds like a more subtle problem... Perhaps try closing all figure windows first because zlabel will put a label on the current active figure window. If that doesn't work, does zlabel('z') add a zlabel on your machine with the following commands?
surf(membrane)
zlabel('z')
Florian
on 17 May 2012
Kye Taylor
on 17 May 2012
You should be able to have both... The fact that surf(membrane) and zlabel('z') don't work right away is troubling, and I'm not sure what the solution is. I suggest posting a copy of your code that creates a figure that's 1.) missing the zlabel, 2) using axis vis3d to add a label, and 3.) using the set command to screw it up. Seeing all the commands sequentially may allow others more insight.
Florian
on 19 May 2012
Walter Roberson
on 19 May 2012
OpenGL renderer, right?
Florian
on 21 May 2012
Chad Greene
on 16 Aug 2014
Categories
Find more on Graphics Performance in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!