the default plotting convention of the session, and setting it; MATLAB’s plotx2east, plotx2north, plotx2west, plotx2south, plotzOutOfPlane and plotzIntoPlane
Syntax
plottingConvention.default('y↓→x')
X east, y south, z into the screen.
plottingConvention.default(zvector, xvector)
Z out of the screen, x east.
plottingConvention.default(east=xvector)
X east, MATLAB’s plotx2east.
plottingConvention.default(north=xvector)
X north, MATLAB’s plotx2north.
plottingConvention.default(intoScreen=zvector)
Z into the screen, MATLAB’s plotzIntoPlane.
plottingConvention.default(outOfScreen=zvector)
Z out of the screen, MATLAB’s plotzOutOfPlane.
plottingConvention.default(north=xvector, save=True)
Kept for later sessions too.
Description
Read, plottingConvention.default is the convention of the default specimen frame, which every plot of data in that frame follows. Called with a convention, its name or the pair outOfScreen, east, it makes that convention the default. Called with screen directions (east, west, north, south, outOfScreen, intoScreen) as keywords, it turns the current default by the least rotation that puts each given reference direction there and keeps the rest, as MATLAB’s plotx2east, plotzIntoPlane and the like do. A fresh installation draws ‘y↓→x’.
Input
outOfScreen |
a convention, its name (‘y↑→x’, ‘y^->x’ in ASCII), or the reference direction pointing out of the screen |
east |
the reference direction pointing east, with outOfScreen |
Keywords
| keyword | default | description |
|---|---|---|
save |
False |
also make it the default of later sessions, stored in mtex_settings.json |
See also
plottingConvention, plottingConvention.makeDefault, setMTEXpref
MATLAB’s plotx2north
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/plotx2north_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.