How to add axes to the object with volshow?

Angelo Yeo · Aug 7, 2023 · 2.1K views
Question
I wanna add x,y,z axes to this object which is created by volshow.  
Expert Answer
Profile picture of John Williams
John Williams PhD Expert
Answered Aug 24, 2026

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.

 

100% Run Guarantee 3-Hour Fast-Track Delivery

Need a Custom Version or Complete Simulation for This Problem?

Our 500+ PhD engineers build, debug, and optimize working MATLAB scripts and Simulink (.slx) models tailored to your exact assignment rubrics with zero plagiarism.

Tested on MATLAB R2024b / R2026a
Turnitin 0% Plagiarism Report
Free 7-Day Revisions Guarantee
Have a different question? Ask here

Get a Free Consultation or a Sample Assignment Review!