Hi,
the 'threshold',... option/parameter belong to KAM(), not plot().
Cheers,
Rüdiger
________________________________________
From:
mtex...@googlegroups.com <
mtex...@googlegroups.com> on behalf of MTEXNewbie <
rashed...@gmail.com>
Sent: Saturday, March 23, 2019 1:00:51 PM
To: MTEX
Subject: {MTEX} Problem in KAM (kernel average misorientation) calculation?
I have calculated KAM using the below code, is the threshold command working here? I tried the example code<
https://mtex-toolbox.github.io/files/doc/EBSD.KAM.html> but the line with threshold gives error.
%% Plot Kernel average misorientation (KAM)
figure
% calculate KAM by ignoring misorientation angles > threshold
plot(ebsd('Iron fcc'),ebsd('Iron fcc').KAM./degree,'threshold',5*degree);
mtexColorbar
setColorRange([0 5]);
hold on
plot(grains.boundary,'linewidth',0.5);
hold off
--
If you want to reduce the number of emails you get through this forum login to
https://groups.google.com/forum/?fromgroups=#!forum/mtexmail, click "My membership" and select "Don't send me email updates". You can still get emails on selected topics by staring them.
---
You received this message because you are subscribed to the Google Groups "MTEX" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
mtexmail+u...@googlegroups.com<mailto:
mtexmail+u...@googlegroups.com>.