Problems with contour levels in (inverse) pole figures

144 views
Skip to first unread message

Colorblind

unread,
Mar 27, 2014, 2:26:31 AM3/27/14
to mtex...@googlegroups.com
Hello,

I am trying to plot pole figures in MTEX with custom contour levels.

However,  values that I input do not affect the contour plots. Only min and max of the range change the figure.

For example,
all codes below produce the same pole figure for me:

1) plotpdf(odf,Miller(1,1,1),'antipodal','contour',[1.0, 1.3, 1.6, 2.0, 2.5, 3.2, 4.0, 5.0, 6.4, 8.0])
2) plotpdf(odf,Miller(1,1,1),'antipodal','contour',[1.0,3.5,8.0])
3) plotpdf(odf,Miller(1,1,1),'antipodal','contour',1:1:8)

I have the same problem with the keyword 'contourf' and with command 'plotipdf'. I've tried both MTEX 3.4.2 and 3.5.0.

Can anyone suggest how to plot pole figures with custom contour levels? That is, I would like MTEX to plot the pole figure with exact contour levels specified in code line #1.

Thank you,
Marat.


Ralf Hielscher

unread,
Apr 13, 2014, 5:34:14 PM4/13/14
to mtex...@googlegroups.com
Hi Marat,

for some strange reason one hast to write

plotpdf(odf,Miller(1,1,1),'antipodal','contour',contours,[1.0, 1.3, 1.6, 2.0, 2.5, 3.2, 4.0, 5.0, 6.4, 8.0])

Colorblind

unread,
Apr 14, 2014, 8:58:35 AM4/14/14
to mtex...@googlegroups.com
Dear Ralf,

many thanks! Keyword 'contours' does the job perfectly!

Sincerely,
Marat.

понедельник, 14 апреля 2014 г., 6:34:14 UTC+9 пользователь Ralf Hielscher написал:
Reply all
Reply to author
Forward
0 new messages