How to disable red orientation indicator in pdeplot3d?

조회 수: 13 (최근 30일)
Jonas Allgeier
Jonas Allgeier 2019년 9월 30일
댓글: mohammad mohseni 2022년 7월 8일
When using pdeplot3d (https://de.mathworks.com/help/pde/ug/pdeplot3d.html), the function automatically adds an indicator showing the orientation of the coordinate system (see bottom left of this example image). While this is nice for intermediate evaluations, it is not suitable for final plotting in my case. I want to disable it or at least be able to modify its appearance. How can I do that?

채택된 답변

Raunak Gupta
Raunak Gupta 2019년 10월 4일
Hi,
After searching through the properties of the object plotted through pdeplot3D, the graphics object responsible for the red orientation indicator is quiver and Text. If it is required to remove the orientation object you may use following code.
delete(findobj(gca,'type','Text'));
delete(findobj(gca,'type','Quiver'));
This will remove the Text and Quiver object from the current axes on which the Surface mesh is plotted.
  댓글 수: 4
Daniel Ledwon
Daniel Ledwon 2021년 4월 23일
I have the same problem in Matlab R2021a. This solution worked fine in R2019a, but after update the x, y and z labels are unremovable even with 'Edit Plot' and 'Property Inspector' of the Figure.
mohammad mohseni
mohammad mohseni 2022년 7월 8일
thanks, it works well

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

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by