Colorizing Orientations error

22 views
Skip to first unread message

Liz Karanja

unread,
Apr 6, 2020, 5:20:08 AM4/6/20
to MTEX
Hello, 
Thank you for this interactive platform,
I am a beginner to Mtex and to coding as well I am trying to colorize orientations on EBSD plot using the following code but I am constantly getting this error 

colors = ipfKey.orientation2color(ebsd('Tungsténe').orientations);
plot(ebsd('Tungsténe'),colors)

ERROR 

Error using phaseList/checkSinglePhase (line 288)
There are no indexed data in this variable!

Error in phaseList/get.CS (line 154)
      id = checkSinglePhase(pL);

Error in EBSD/get.orientations (line 164)
      ori = orientation(ebsd.rotations,ebsd.CS);

Error in EBSD/subsref (line 40)
  [varargout{1:nargout}] = builtin('subsref',ebsd,s);
 Thanks in advance 
Cheers 
Liz 

Grafulha Morales Luiz

unread,
Apr 6, 2020, 5:30:24 AM4/6/20
to mtex...@googlegroups.com

hi liz



are you sure the name of the phase is "Tungsténe"?


you can try to substitute this name only by a "t"



cheers



Luiz


Luiz F. G. Morales
ScopeM & Structural Geology and Tectonics Group
ETH Zürich

From: mtex...@googlegroups.com <mtex...@googlegroups.com> on behalf of Liz Karanja <klizw...@gmail.com>
Sent: 06 April 2020 11:10:54
To: MTEX
Subject: {MTEX} Colorizing Orientations error
 
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/mtexmail/06a87c59-c3de-479b-947d-c071c883beba%40googlegroups.com.

Liz Karanja

unread,
Apr 6, 2020, 5:37:20 AM4/6/20
to mtex...@googlegroups.com
Hi Luiz

Thank you it worked perfectly

Cheers
Liz 

Reply all
Reply to author
Forward
0 new messages