Inserts a scale bar on the current ebsd or grain map.
Syntax
hg = scaleBar(ebsd, scanunits)Input
| ebsd | an mtex ebsd or grain object |
| scanunits | units of the xy coordinates of the ebsd scan (e.g., 'um') |
Output
| oval | output value |
| ounit | output unit |
Options
| BACKGROUNDCOLOR | background color (ColorSpec) |
| BACKGROUNDALPHA | background transparency (scalar 0<=a<=1) |