mtex-toolbox / mtex

MTEX is a free Matlab toolbox for quantitative texture analysis. Homepage:
http://mtex-toolbox.github.io/
GNU General Public License v2.0
291 stars 186 forks source link

sigma section do not consider plottingConvention #2093

Open kilir opened 8 months ago

kilir commented 8 months ago

plotSection works with the standard plottingConvention with z pointing out of the plane, however when z points into the plane the plot is not ok.


%% this is ok
xyzPlot = plottingConvention(zvector,xvector);
setMTEXpref('xyzPlotting',xyzPlot);

odf = unimodalODF(orientation.id)
plotSection(odf,'sigma')

%% this is interesting but not ok

xyzPlot.intoScreen = zvector
setMTEXpref('xyzPlotting',xyzPlot);

plotSection(odf,'sigma')

Cheers,

Rüdiger