How to add axes to the object with volshow?

Illustration
Angelo Yeo - 2023-08-07T11:12:02+00:00
Question: How to add axes to the object with volshow?

I wanna add x,y,z axes to this object which is created by volshow.  

Expert Answer

Profile picture of John Williams John Williams answered . 2025-11-20

If you mean OrientationAxes, you can refer to the following example. 

 

load("spiralVol.mat")
h = volshow(spiralVol);
viewer = h.Parent;
viewer.OrientationAxes = 'on'; % 'off' will remove the orientation axis from the canvas

Note that the volshow renders graphics on canvas not on an axis. Hence, the ability to render generic "axes", e.g. for plot, is not available.

 


Not satisfied with the answer ?? ASK NOW

Get a Free Consultation or a Sample Assignment Review!