MATLAB: How to assign data to axis vol3d

assign values to axisinterp3?MATLABvol3d

I am plotting year(per,day,hour) using this line:
vol3d('cdata',interp3(year,3),'texture','3d');
can you show me how to assign values of my variables(per,day,hour) to the axis x,y,z?
thanks

Best Answer

I have figured out myself, yeahh :)
vol3d('cdata',interp3(year,3),'xdata',per,'ydata',day,'zdata',hour,'texture','3d');
Related Question