Command to annotate min/max in inverse pole figures.

31 views
Skip to first unread message

Eloisa

unread,
Aug 8, 2019, 2:22:54 AM8/8/19
to MTEX
Hello,

I am plotting inverse pole figures from a calculated ODF with the following lines:
ipf = figure;
    setMTEXpref
('aStarAxisDirection','east');
    plotIPDF
(odf,[zvector])
   
CLim(gcm,[0 4.5]);
    mtexColorbar
   
    saveas
(ipf,sprintf('ipf_z_%d.png',run))

This section of the script is embedded in a loop that plots and saves more than 20 inverse pole figures at a time, and I do this for multiple data sets. I am familiar with the method of annotating inverse pole figures with min/max where you go to the matlab figure, select the MTEX menu, go to annotations and select min/max. Due to the large amount of inverse pole figures I must plot, this method is not viable for me. Is there a command that I can write in my script to annotate each inverse pole figure with the min/max? Also, is there a way to define the position of the min/max in the figure? It currently displays in the top and bottom left corners, but they overlap with other labels in the inverse pole figure. I have searched the mtex documentation and forum with no luck, any help would be greatly appreciated. Thank you!

Ralf Hielscher

unread,
Aug 8, 2019, 3:22:13 AM8/8/19
to MTEX
I hope 

plotIPDF(odf,zvector,'minmax')

is what you are looking for.

Ralf.
Reply all
Reply to author
Forward
0 new messages