Problem with Axes Box Property

조회 수: 3 (최근 30일)
Oliver
Oliver 2013년 11월 5일
댓글: Kelly Kearney 2013년 11월 5일
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:
However, when I save the figure as a .jpg the axes borders (boxes) are correctly rendered, as shown below:
Any ideas as to how to get the boxes to render properly in the actual figure window?
  댓글 수: 2
Oliver
Oliver 2013년 11월 5일
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.
Kelly Kearney
Kelly Kearney 2013년 11월 5일
Because opengl just doesn't like to work properly in Matlab.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Graphics Performance에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by