How do I generate a standard stereographic projection using MTEX?

364 views
Skip to first unread message

亓智敏

unread,
Feb 16, 2017, 12:19:33 PM2/16/17
to MTEX
I want to plot the (112) standard stereographic projection pattern for a cubic? Or more generally, is there a protocol or instructional steps to be provided? Thanks a lot.

ruediger Kilian

unread,
Feb 16, 2017, 12:29:05 PM2/16/17
to mtex...@googlegroups.com
Hi,
have a look here: https://mtex-toolbox.github.io/documentation.html
Cheers,
Rüdiger


On 16 Feb 2017, at 6:19 pm, 亓智敏 <qzm...@gmail.com> wrote:

> I want to plot the (112) standard stereographic projection pattern for a cubic? Or more generally, is there a protocol or instructional steps to be provided? Thanks a lot.
>
> --
> 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.
> Visit this group at https://groups.google.com/group/mtexmail.
> For more options, visit https://groups.google.com/d/optout.

亓智敏

unread,
Feb 16, 2017, 2:21:33 PM2/16/17
to MTEX, ruedige...@unibas.ch
Hi Rüdiger,
    I did find the way to draw the (001) stereographic projection but I'm unable to rotate it because the drawing is based on crystal symmetry, which is not changed. Below is the code I used. However, the code works as X//a, Y//b, Z//c and I want the euler angle to be [ 0*degree 36.5*degree 0*degree] instead. Could you please help me and be more specific? Thank you.

cs = crystalSymmetry('cubic',[1,1,1])
h = Miller({1,0,0},{1,1,0},{1,0,1},{1,1,1},{1,1,2},cs) 
for i = 1:length(h)
plot(h(i),'symmetrised','labeled','backgroundColor','w','doNotDraw','grid')
hold all
end
hold off
drawNow(gcm,'figSize','normal')

grandr...@gmail.com

unread,
Feb 16, 2017, 6:13:21 PM2/16/17
to MTEX, ruedige...@unibas.ch

The minimum code for plotting a pole figure is plotPDF(o,h);  where o has been previously defined as the dataset (orientations) to plot, and h is the pole figure plane to plot.  o can be one orientation, or several thousand.


Before we can define an orientation, we need to define the crystal symmetry


cs = crystalSymmetry('cubic',[1,1,1])


So now, let's define o

%the zxz explicitly means Bunge convention used (this is the default).

o = orientation('euler',0*degree, 36.5*degree, 0 *degree,'ZXZ',cs);

so for the pole figures you list we set h

h = Miller({1,0,0},{1,1,0},{1,0,1},{1,1,1},{1,1,2},cs)

and now plot this
plotPDF(o,h);

Is this what you were trying to do? 

亓智敏

unread,
Feb 20, 2017, 4:42:56 PM2/20/17
to MTEX, ruedige...@unibas.ch
Thank you so much! This is very clear and gives me the direction. Thank you so much again!!
Reply all
Reply to author
Forward
0 new messages