subsref
(method of grain2d)
access subsets of a GrainSet
Syntax
grains(1:10) % the 10 first grains of a GrainSet grains('Fe') % only Fe grains grains( ~grains('fe') ) % all grains but Fe logical array with size of the complete GrainSet
MTEX 4.0.4 |
MTEX - A MATLAB Toolbox for Quantitative Texture Analysis | View Code |
(method of grain2d)
access subsets of a GrainSet
grains(1:10) % the 10 first grains of a GrainSet grains('Fe') % only Fe grains grains( ~grains('fe') ) % all grains but Fe logical array with size of the complete GrainSet
MTEX 4.0.4 |