%% Aggregate elastic properties
C_Aggregate_Hill
= C_Hill_qtz*Quartz_Area_fraction +
C_Hill_olig*Oligoclase_Area_fraction + C_Hill_musc*Musc_Area_fraction +
C_Hill_bio*Bio_Area_fraction + C_Hill_calcite*Calcite_Area_fraction +
C_Hill_clino*Clino_Area_fraction + C_Hill_pyr*Pyrope_Area_fraction
%%
[vp,vs1,vs2,pp,ps1,ps2] = C_Aggregate_Hill.velocity('harmonic');
%%
% extrema
[maxVp, maxVpPos] = max(vp)
[minVp, minVpPos] = min(vp)
% percentage anisotropy
AVp = 200*(maxVp-minVp) / (maxVp+minVp)
%% Plotting section
% plotting convention - plot a-axis to east
plota2east;
Label_X='Z'; Label_Y='X';Label_Z='Y';
% set colour map to seismic color map : blue2redColorMap
setMTEXpref('defaultColorMap',blue2redColorMap)
% some options
blackMarker = {'Marker','s','MarkerSize',10,'antipodal',...
'MarkerEdgeColor','white','MarkerFaceColor','black','doNotDraw'};
whiteMarker = {'Marker','o','MarkerSize',10,'antipodal',...
'MarkerEdgeColor','black','MarkerFaceColor','white','doNotDraw'};
% some global options for the titles
%titleOpt = {'FontSize',getMTEXpref('FontSize'),'visible','on'}; %{'FontSize',15};
titleOpt = {'visible','on','color','k'};
% Setup multiplot
% define plot size [origin X,Y,Width,Height]
mtexFig = mtexFigure('position',[0 0 1000 1000]);
% set up spacing between subplots default is 10 pixel
%mtexFig.innerPlotSpacing = 20;
%% Vp : Plot P-wave velocity (km/s)
% Plot P-wave velocity (km/s)
plot(vp,'contourf','complete','upper')
mtexTitle('Vp (km/s)',titleOpt{:})
% extrema
[maxVp, maxVpPos] = max(vp);
[minVp, minVpPos] = min(vp);
% percentage anisotropy
AVp = 200*(maxVp-minVp) / (maxVp+minVp);
% mark axes labels
hold on
text([xvector,yvector,zvector],{Label_X,Label_Y,Label_Z},...
'backgroundcolor','w');
% mark maximum with black square and minimum with white circle
hold on
plot(maxVpPos,blackMarker{:}) % cannot get it to plot only one black square
plot(minVpPos,whiteMarker{:})
hold off
colorbar
% subTitle
xlabel(['Vp Anisotropy = ',num2str(AVp,'%6.1f')],titleOpt{:})
plot(maxVpPos.symmetrise,blackMarker{:})
plot(minVpPos.symmetrise,whiteMarker{:})
--
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.
<actualResult.png><expectedResult.png>
Hi Luiz,
That was the only thing I could come up with as well, but I don’t see anywhere where I could have rotated anything in the code. Our thin section is cut in the XZ plane:
In the original import, I use :
setMTEXpref('xAxisDirection','east');
setMTEXpref('zAxisDirection','intoPlane');
and when setting the preferences for the anisotropy plots I use:
plota2east;
I agree that it appears it has been rotated – just not really sure how or where that would occur??
cheers,
Kat
You received this message because you are subscribed to a topic in the Google Groups "MTEX" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mtexmail/S-PduPEWz8E/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mtexmail+u...@googlegroups.com.
Hey Rüdiger,
Quartz pole figs (the blue phase):
Muscovite – I filled in the non-indexed points with muscovite, to all be aligned, hence the very strong fabric:
Whereas Biotite is:
So looking at this it appears I’ve likely made a mistake in setting the muscovite orientation when using fill:
% n = notindexed
ebsd('n').phaseId=5
% set some rotation e.g. a random one, but it could also be any
ebsd('n').rotations=rotation.rand(length(ebsd('n').rotations))
I noticed that setting the phaseId first gave all the muscovites the same orientation, whereas if I wanted random then setting the rotation first worked. I want them to all be the same orientation – then we get a maximum anisotropy. What would the correct way to do this be?
Cheers,
Kat
From: <mtex...@googlegroups.com> on behalf of Rüdiger Kilian <ruedige...@unibas.ch>
Reply-To:
--