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
292 stars 186 forks source link

force copy constructor to inherit plottingConvention #2142

Open vtvivian opened 6 months ago

vtvivian commented 6 months ago

so if you do ebsd2 = ebsd1; you don't lose the plottingConvention set by ebsd1

Feature request: can we set the plottingConvention property explicitly in the @EBSD constructor (and do this for @EBSDsquare/hex as well, so that you don't lose this information after gridify?) (I am not sure how to do this correctly for a dependent property / child class.)