mtex icon indicating copy to clipboard operation
mtex copied to clipboard

Feature request: Plots directed to specific axis in app

Open jhiscocks opened this issue 6 years ago • 0 comments

As part of a GUI, it would be nice to be able to plot to specific designated axes. For MTEX, this works for EBSD maps plot(ebsd('Magnesium'),ebsd('Magnesium').bc,'Parent',target_ax2) , crystal symmetry plots plot(o1*cS,'Parent',target_ax1), and pole figures where there is only one miller axis specified

h=[Miller(1,1,1,cs)];
o=ebsd('Magnesium').orientations;
plotPDF(o,h,'Parent',target_ax1)

For plotting to an app.UIAxes it works for crystal shapes only (and not pole figures or EBSD maps).

jhiscocks avatar May 01 '18 17:05 jhiscocks