Plotting ODF sections with sample symmetry

213 views
Skip to first unread message

Jay Einhorn

unread,
Oct 12, 2016, 10:33:45 AM10/12/16
to MTEX
Hello,

I'm trying to plot phi2 sections of an ODF computed in MTEX with 5 degree resolution. The data comes from pole figures exported from MAUD and loaded into MTEX via the BEARTEX interface (.xpe extension pole figure files). PlotPDF works fine for recalculated pole figures, but I would like to plot phi2 sections of the ODF at 5 degree phi2 resolution.

What's strange to me is that it works when I do not specify sample symmetry (i.e. '1' or triclinic) but when I specify orthotropic ('222'), it will only let me plot at most 6 sections. If I try to do more it gives me an empty plot, albeit with the appropriate angles ranges (phi1 and Phi 0 to 90, see attached). Is there a reason why the number of phi2 sections would be limited?

I've tried both of the following, to no avail:

phi2sections=[0,5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85]*degree;
plot(odf,'phi2',phi2sections)

and

plot(odf1,'phi2','sections',18)

However, the following does work:

plot(odf1,'phi2','sections',6)

There are no error messages in either case, just the empty plot in the former and a full plot (i.e. it works) in the latter. I'm running MATLAB R2014a for Windows and MTEX version 4.3.2. Any advice would be greatly appreciated.

Thanks so much,
Jay
MTEXerrorFig.png

Suresh Kodukula

unread,
Oct 12, 2016, 10:38:10 AM10/12/16
to MTEX
Hi,

I think you should try plotSection(odf, 'phi2', [0, 40,45,60,90]*degree)
Hope this works.

Best Regards,
Suresh

Ralf Hielscher

unread,
Oct 12, 2016, 10:40:38 AM10/12/16
to mtex...@googlegroups.com
Hi Jay,

I can not reproduce this. I do not really have an idea what is going wrong. Maybe

1. graphics, try set(gcf,'renderer','zBuffer') 

2. memory issues, try less sections

May be you can tell at which number of sections it breaks.

Ralf.

********************************************************************
Ralf Hielscher                   Tel: +371-531-38556
Fakultät für Mathematik               +371-531-22200 (Sekr.)
Technische Universität Chemnitz  Fax: +371-531-22109
Reichenhainer Str. 39            E-mail: ralf.hi...@mathematik.tu-chemnitz.de
D-09126 Chemnitz                 http://www.tu-chemnitz.de/~rahi
********************************************************************

--
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+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/mtexmail.
For more options, visit https://groups.google.com/d/optout.

Jay Einhorn

unread,
Oct 17, 2016, 3:28:03 PM10/17/16
to MTEX, ralf.hi...@mathematik.tu-chemnitz.de
Hi all,

Thanks for the help. It must've been memory issues, as I got it working by importing less pole figures.

Thanks,
Jay
To unsubscribe from this group and stop receiving emails from it, send an email to mtexmail+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages