How to put name axes in 3D surf graph
6 views (last 30 days)
How to put name of axes in 3D surf graph? Let say I want to put the name x-axes:Gy, y-axes: mm, z-axes: mm
I have the below code
The image data as attached.
[spect map] = dicomread('I-13125610N1.dcm'); % whatever the name of your image data set
spect = squeeze(spect); %seperately from 4D to 3D (frame)
title('Sum of All Slices')
%the selected slice that you want to plot
surf(spect(:,:,end)) %"1" indicated the first slice, "end" indicated the las slice
title('First Slice') % title of the graph.