Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Figure/Axes dependent patch facet visibility?

조회 수: 2 (최근 30일)
Oliver
Oliver 2013년 10월 17일
마감: MATLAB Answer Bot 2021년 8월 20일
I have a patch object that I am trying to plot in an existing plot, however, for some reason some of the facets are not showing up. Here is what it looks like:
You'll notice that in the upper right hand corner it looks like a bite has been taken out of the object. However if I plot the same patch object in a new figure (and axis) I get this:
which is what it is supposed to look like (no bite missing).
I'm at a loss as to why this might be. My only guess is that its some property of the existing axis or figure, but I don't know what property I ought to be investigating. Any ideas?
  댓글 수: 1
Oliver
Oliver 2013년 10월 17일
So it appears that the renderer is the problem. In the first figure the renderer is 'zbuffer', and if I change it to 'opengl' the problem is fixed. However, I still don't understand why 'zbuffer' would be taking bites out of my patch, any ideas why 'zbuffer' would cause this behavior?

답변 (0개)

제품

Community Treasure Hunt

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

Start Hunting!

Translated by