how to assign data to axis vol3d

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

 Accepted Answer

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

More Answers (0)

Products

Release

R2016a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!