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
274 stars 182 forks source link

force copy constructor to inherit plottingConvention #2142

Open vtvivian opened 1 month ago

vtvivian commented 1 month 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.)