Problem with plotMap_variantPairs function #70
-
Dear developers, I am experiencing a problem with the function plotMap_variantPairs. It seems to be restricted to when I enable the 'parentGrainId' input, since it works fine with the whole EBSD map. This is the following error message: Error using reshape
Number of elements must not change. Use [] as one of the size inputs to automatically calculate
the appropriate size for that dimension.
Error in computeVariantGrains (line 34)
isIndexed_L = reshape(isIndexed,l_ebsd,1);
Error in plotMap_variantPairs (line 28)
[grains,ebsd] = computeVariantGrains(job,'parentGrainId',pGrainId); It works fine when I use the MTEX Martensite dataset as in ORTools tutorial 7. Thank you in advance, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @pj-decastro, I checked ORTools_example07. Please upload your script and map. **Lastly, and importantly, if an explanation from the maintainers resolves your issue, please press the "Mark as answer" button on the appropriate response. Your assistance in this regard enables us to close discussions as complete. ** Warm regards, |
Beta Was this translation helpful? Give feedback.
Hi @pj-decastro,
discard the above patch provided by Azdiar and download the latest developer version of ORTools. I have now updated
computeVariantGrains
to not rely on thegridify
command in MTEX which was at the root of the problem.Best wishes
Frank