Setting intensity scale for 3D ODF

87 views
Skip to first unread message

Judy

unread,
Jan 6, 2016, 11:01:53 AM1/6/16
to MTEX
MTEX 3.5.0
Matlab R2014a

Is there a way to set the colorbar intensity scale on the 3D ODF? The following code works for the pole figures and the ODF cross sections (fogs 1-2), but the 3D ODF (fig 3) still plots with the automatic color bar range instead of 0-50.

odf = calcODF(pf);
figure
(1)
plotpdf
(odf, [Miller(1,1,1), Miller(2,0,0),Miller(2,2,0)],'complete','contour',0:1:15, 'antipodal');colorbar
figure
(2)
plot
(odf, 'phi2',[0 5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90]*degree,'contour',0:1:50,'antipodal');colorbar
figure
(3)
plot
(odf,'surf3','contour',0:1:50);colorbar

Apologies if this has been asked elsewhere. I saw posts regarding the pfs and ODF sections, but not about the 3D ODF.

Thanks!
Judy

Ralf Hielscher

unread,
Jan 9, 2016, 7:48:45 AM1/9/16
to MTEX
You may try

caxis(gca,[0,50])

after plotting

Ralf.
Reply all
Reply to author
Forward
0 new messages