how to specify the color for trace of a plane in the pole figure

69 views
Skip to first unread message

Rongpei Shi

unread,
May 17, 2013, 12:13:11 PM5/17/13
to mtex...@googlegroups.com
m=Miller(-0.387657534,0.891551291,0.234217702,SS,'hkl')
plot(m,'LineColor','r','LineWidth',1.5,'label','G.B.P','FontSize',12,'plane')

I used the above Commands trying to plot a trace for the plane defined by m.

However, i can not specify the type and color for the trace.

Any comments will be appreciated.

Thanks!

Ralf Hielscher

unread,
May 18, 2013, 8:42:31 AM5/18/13
to mtex...@googlegroups.com
You can simply replace 'LineColor' by 'Color', i.e.,

plot(m,'color','r','Linewidth',1.5,'plane')

In MTEX 3.4.2 both 'LineColor' and 'Color' will be supported.

I hope this help,

Ralf.

Rongpei Shi

unread,
May 18, 2013, 2:06:24 PM5/18/13
to mtex...@googlegroups.com
Hi Ralf:

It works pretty well.

Can you also tell me how to specify the line style for the trace?

Thanks for your time!!

Rongpei

Ralf Hielscher

unread,
May 19, 2013, 12:14:09 AM5/19/13
to mtex...@googlegroups.com
Line styles are not really supported. You might try

plot(m,'plane','LineStyle',':')

If this is really an important issue for many users I might think of implementing it the correct way.

Ralf.
Reply all
Reply to author
Forward
0 new messages