A method of mapImage.

an image, or a list of them, drawn where it sits on the specimen, in the specimen’s coordinates and in the screen orientation of its frame

Syntax

plot(mg)

One image.

plot(imgList)

One axes per image, titled by its name.

plot(imgList, edge=True)

The edge transform of each.

plot(mg, channel=1)

One channel of a multi-channel image.

plot(mg, micronbar=False, colormap='parula')

No scale bar, another colour map.

plot(ebsd, ebsd.bc); hold(True); plot(mg, alpha=0.5)

An image over its map.

Description

An image is drawn in micrometres, not pixels, in the screen orientation its frame takes, so that an image and the map it is aligned to lie on top of each other without either being turned first. One channel is drawn in gray through the colour map, three as RGB. A list or mapImageList draws one axes per image, the quick check that a sequence covers the same area the same way up. edge=True draws edgeMap(mg), what a registration matches on, its contrast stretched over the 2nd to 98th percentile.

Input

mg mapImage, or a list or mapImageList of them

Keywords

keyword default description
channel None the channel, or the three channels, to draw; by default all
edge False draw the edge transform of the image instead of its values
micronbar None draw the scale bar; by default the preference showMicronBar
refFrame True draw the axes of the specimen frame in the scale bar box
colormap None the colour map of a single channel, gray by default
layout None (rows, columns) of the axes of a list
figSize None the size of a new figure of a list

Output

h the matplotlib image, a list of them for a list

See also

mapImage, edgeMap, xcfShift, EBSDMapsAndImages

MATLAB’s mapImage.plot

source

Citing this page. This page is part of the documentation of MTEX, a free and open source MATLAB toolbox for analyzing and modeling crystallographic textures. It was written by The MTEX Developers and is published at https://mtex-toolbox.github.io/mapImage.plot_py.html. If you use MTEX, or reuse text or figures from this page, in your research, please cite

F. Bachmann, R. Hielscher, H. Schaeben: Texture Analysis with MTEX - Free and Open Source Software Toolbox, Solid State Phenomena 160 (2010), 63-68. 10.4028/www.scientific.net/SSP.160.63

BibTeX
@article{bachmann2010mtex,
  author  = {F. Bachmann and R. Hielscher and H. Schaeben},
  title   = {Texture Analysis with MTEX - Free and Open Source Software Toolbox},
  journal = {Solid State Phenomena},
  volume  = {160},
  pages   = {63-68},
  year    = {2010},
  doi     = {10.4028/www.scientific.net/SSP.160.63},
  url     = {https://doi.org/10.4028/www.scientific.net/SSP.160.63}
}

Other papers describing specific MTEX methods are listed under Publications — please cite the one that best fits your application. The MTEX source code is licensed under the GNU General Public License v2.0; the text and figures of this documentation are licensed under CC BY 4.0, which permits reuse — including by automated systems — provided The MTEX Developers and this page are credited.