Surf z axis not visible

4 visualizzazioni (ultimi 30 giorni)
Florian
Florian il 16 Mag 2012
Commentato: Chad Greene il 16 Ago 2014
When i use surf (e.g. with peaks) the Z axis is not shown. (Linux 64, nvidia-drivers-295.49, Matlab 2012a)
  4 Commenti
Florian
Florian il 16 Mag 2012
example:
>> peaks
output:
>> which surf -all
/home/shared/local/MATLAB/R2012a/toolbox/matlab/graph3d/surf.m
Florian
Florian il 16 Mag 2012
http://oi47.tinypic.com/j6jxoo.jpg

Accedi per commentare.

Risposta accettata

Florian
Florian il 19 Mag 2012
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...

Più risposte (1)

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

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by