scaleBar

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')

param,val Parameters and values that control scaleBar
Parameter Description
'BACKGROUNDCOLOR'

background color (ColorSpec)

'BACKGROUNDALPHA'

background transparency (scalar 0<=a<=1)

Output

oval

output value

ounit

output unit