MATLAB Answers

0

How to disable red orientation indicator in pdeplot3d?

Asked by Jonas Allgeier on 30 Sep 2019
Latest activity Commented on by Jonas Allgeier on 7 Oct 2019
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?

  0 Comments

Sign in to comment.

1 Answer

Answer by Raunak Gupta on 4 Oct 2019
 Accepted Answer

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.

  1 Comment

I thought there should be something more straightforward than that (actually preventing to create these things in the first place), but thanks nonetheless!

Sign in to comment.