Skip to content
Snippets Groups Projects
user avatar
Laura Nervo authored
gtINDEXDrawGrainUnitCells(grain, parameters, phaseid,  type, numbered, hlight, strainscale)
     -------------------------------------------------------------------------------------------

     Draws a figure representing grain size, location and orientation by
     cubes or hexagonal prismes based on the their Rodrigues vectors.

     INPUT:
       grains      = grain structure from indexing
       parameters  = as in parameters file (required field: labgeo)
       phaseid     = phase number <int> {1}
       type        = cell type {'cubic'} / 'hexagonal'
       numbered    = if true, the grain id-s for each grain are shown
       hlight      = grain id-s to be highlighted
       strainscale = a multiplicative factor for the strain components
                     for better visibility (if strain data available)

     Version 001 28-06-2012 by LNervo
       Modified gtINDEXDrawGrainCubes : cubes or hexagons can be drawn

Signed-off-by: default avatarLaura Nervo <laura.nervo@esrf.fr>

git-svn-id: https://svn.code.sf.net/p/dct/code/trunk@578 4c865b51-4357-4376-afb4-474e03ccb993
d37496ef
History
Name Last commit Last update