No BSD License
Suresh Joel (view profile)
18 Apr 2003
25 Feb 2004)
Draws a 3-D cube in a 3-D graph.
Watch this File
Simple function to draw a voxel (cube, cuboid) in a specific position of specific dimensions in a 3-D plot. Transparency of the voxel can also be specified.
Many voxels can be aggregated to form a different shapes (a simple 3-D "+" is shown in the screenshot).
excellent and easy to use! Thanks a lot.
i am beginner , can anyone please tell me how to run this file,
i wrote the program on a new m file and tried to run it but it did not work.
alpha is not assigned a default value when the function is called with two parameters
Great little script. When I try to use it for large grids, it is extremely slow though. Is there something that can be done to speed it up?
very useful function and efficient
This is a great function. The commenting makes it easy to implement. Thank you for making my 3D voxel images better!
Good program, fairly simple code, I like it.
A nice tidy function that i found really useful for displaying range data. Thanks.
Simple to use and works well. Great!
simple and good... saves lot of code writings..
Very simple and easy to use. Thank you!
Found via google search for
matlab script draw cube
Exactly what I search !
With some modification it fit with my problem. Thanks
Simple and effective! Thank you!