Join two points with an arrow on IPF

51 views
Skip to first unread message

M Kumar

unread,
May 7, 2020, 5:45:41 AM5/7/20
to MTEX
Hello,

I would like to draw a few arrows on the IPF triangle that connects two Euler angles. First Euler angle is the initial orientation and the second Euler angle is the orientation after the Taylor model simulation. 

A Schematic regarding it has been attached.

Thanks,
Kumar

Untitled.png

M Kumar

unread,
May 21, 2020, 11:02:32 AM5/21/20
to MTEX
Dear all,

I am not able to achieve the above result. May you please help it out.

Thanks.

Rüdiger

unread,
May 22, 2020, 4:40:09 AM5/22/20
to mtex...@googlegroups.com
Hi,
something like annotation('arrow',...) is not implemented at the
moment.You can try and see if a combination of vector3d/line and
vector3d/quiver works for you.

cs = crystalSymmetry('432')
h = Miller.rand(2,cs)
h=h.project2FundamentalRegion;

plot(h,'FundamentalRegion','label',{'1' '2'});
hold on
h=vector3d(h)
quiver(h(2),-h(1),'MaxHeadSize',1000)
hold on
line(h(2),h(1),'.','add2all')
hold off

Cheers,
Rüdiger

M Kumar

unread,
May 22, 2020, 6:27:24 AM5/22/20
to MTEX
Seems good enough to serve the purpose
Reply all
Reply to author
Forward
0 new messages