In MTEX each plottable variable has a property how2plot
which tells MTEX how to align the corresponding coordinate system on screen.
The property how2plot
is a handle class of type @plottingConvention. We can change it by setting north
, east
or outOfScreen
to other directions.
Note that because @plottingConvention is a handle class, i.e. changing v1.how2plot
changes also v2.how2plot
In order to have different plotting axes alignments within one MTEX session we have to define a new @plottingConvention by
When initiating a new vector3d MTEX uses plottingConvention.default
as default plotting convention. This default plotting convention can be changed by
When importing data those might be associated with a plotting convention that is different to the default one
Note that all quantities derived from those data will inherit the stored plotting convention
We may also set the default plotting convention to the plotting convention of the imported data by