File Exchange

image thumbnail

Miller Indices of Cubic Crystals

version (4.04 KB) by Husam Aldahiyat
Simple GUI that displays properties of Miller Indices for cubic crystals.


Updated 18 Oct 2009

View License

millerind() is a graphical user interface that gives a simple method to view and understand the underlying princples behind the Miller indices of a cubic crystal.

By entering a desired plane and pressing "Plot", the desired plane along with its orthogonal vector are displayed on the crystal cube, and all possible plane equivalents are shown. You can choose any of these planes to have them being shown on the axes, or you can rotate the cube manually and find out which equivalent plane results.

Cite As

Husam Aldahiyat (2021). Miller Indices of Cubic Crystals (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (8)

Chunhui Wang

The graph can shows up when I delete the code (the 3rd uipanel)
'pos',[.285 .05 .675 .725],...
The graph is overlaid with panel.


Not currently working on 2019a. Everything seems to work normal but the graph never shows up.

Jared Paquet

Mirtunjay Kumar

Not working in newer version of Matlab

Netta Claudia

How do I use this in my matlab application? Sorry, I'm a newbie here..

Chris K.Y. FUNG


Nice visualization. By the way: do you now about MTEX, ? I think this would be a nice feature to include. If you are interested in participating write me.

MATLAB Release Compatibility
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!