how can I display a voxel

Hi,
I wanna create a 3D grid and make there several voxel with different colors.
can u give me a tipp?
axis([0,10,0,10,0,10])
xlabel('X-Achse')
ylabel('Y-Achse')
zlabel('Z-Achse')
grid on
hold off
This is my grid but idont know how can make into that voxel in different position with different colors.
THX

Categories

Tags

Asked:

sia
on 12 Jul 2013

Community Treasure Hunt

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

Start Hunting!