I tried switching the renderer to 'zbuffer', and the problem seems to be resolved, but I still would like to know why 'opengl' does not correctly display the axes borders.
Problem with Axes Box Property
1 次查看(过去 30 天)
显示 更早的评论
I have a figure with several subplots. I want each to have a box around it. In order to do this I use:
set(hax,'xtick',[],'ytick',[],'box','on')
However, for some reason in the figure window I only see the bottom and right axes borders, as shown below from a screen capture:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/152841/image.jpeg)
However, when I save the figure as a .jpg the axes borders (boxes) are correctly rendered, as shown below:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/152842/image.jpeg)
Any ideas as to how to get the boxes to render properly in the actual figure window?
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Graphics Performance 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!