Axis Disappearing after Zooming in
6 次查看(过去 30 天)
显示 更早的评论
Hi,
I plotted somthing and after using xlim and ylim for zooming out, axies disappeared. How can I solve the problem?
thanks,
2 个评论
Walter Roberson
2023-4-13
Good question. It seems to have something to do with the view combined with something like camera position.
For example, if you
view([0 91])
then the x axes comes into sight.
采纳的回答
Walter Roberson
2023-4-13
Okay, what is happening is that your surface has a rectangular at z = 0, with the interesting data at negative z. The surface has been colored white in that area, and the FaceAlpha = 1 so it is opaque.
The rectangular plate at the top is hiding the axes. You can get a bunch of it back just by asking for the axes to be drawn on top.
fig = openfig('Fig6.fig');
ax = gca(fig);
ax.Layer = 'top';
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Lighting, Transparency, and Shading 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!