Plot 2 pole figures in the same figure

95 views
Skip to first unread message

Fernando Schlosser

unread,
Jun 12, 2014, 3:11:46 PM6/12/14
to mtex...@googlegroups.com
Hello,
I've benn trying to plot two pole figures from different samples, i.e. two basal pole figures from different textures, in one single figure and I can't figureout how to do it.
I tried the subplot Matlab command but it does not work, is there a way to do this?

Thank you!!

Ralf Hielscher

unread,
Jul 6, 2014, 6:55:48 AM7/6/14
to mtex...@googlegroups.com
Hi Fernando Schlosser,

in MTEX 3.5 you can use the Matlab command subplot to create different subplots and then pass the to the MTEX plot command as the first argument, e.g.,

p1 = subplot(1,3,1)
plotpdf
(p1,odf1,Miller(1,0,0))

p2
= subplot(1,3,2)
plotpdf
(p2,odf2,Miller(1,0,0))

p3  
= subplot(1,3,3)
plot
(p3,pf(1))

I hope this helps,

Ralf.

PS: This syntax will change in MTEX 4.0.

Reply all
Reply to author
Forward
0 new messages