MS_sphere
MS_SPHERE - Plot a spherical plot of phasevels/anisotropy from a set of elastic constants.
Given an elasticity matrix and density, produce spherical figures showing the P- or S-wave anisotrpy.
MS_sphere(CC,rh,mode,...)
Usage: MS_sphere(CC,rh,mode) Mode can be 'p'(-wave), 's'(-wave), 's1' (fast s-wave) or 's2' (slow s-wave).
MS_sphere(CC,rh,mode,...) Further arguments are optional, can be combined in any order and change the behaviour of the function. Specific options are listed below.
MS_sphere(..., 'reverse') Reverse the sense of the colour map.
MS_sphere(..., 'FSWTickLength', length) Set the length of the Fast shear wave direction markers, default is 0.08.
MS_sphere(..., 'FSWMarkerSize', length) Set the size of the Fast shear wave direction markers, default is 4.
MS_sphere(..., 'cmap', CM) Redefine the colormap. CM can either be a (nx3) matrix containing a colormap, or a string describing a function to generate such a matrix (such as the built-in MATLAB colormap functions). E.g.: MS_sphere(C,rh,mode,'cmap','cool(64)') - uses the MATLAB function cool to generate a cyan-to-purple colourmap. The default is 'jet', reversed so blue is fast/high, as is conventional for seismic velocity colorscales.
MS_sphere(..., 'velmesh', levels) Choose the number of points used to mesh the velocity contours expressed in terms of the number of times the mesh spacing is halved. Default is 3.
MS_sphere(..., 'polmesh', levels) Choose the number of points used to mesh the fast shear wave markers. Expressed in terms of the number of times the mesh spacing is halved. Default is 2.
MS_sphere(..., 'dirs', array) Directions of interest, this should be a vector of azi, inc pairs, e.g., [az1 in1 az2 in2 az3 in3 az4 in4].
MS_sphere(..., 'dlen', lenght) Set length of doi vectors. Default is 1.5
MS_sphere(..., 'nolabels') Supress printing of the text labels.
MS_sphere(..., 'noaxes') Supress printing of the direction axes.
MS_sphere(..., 'nocbar') Supress printing of the colour bar.
MS_sphere(..., 'nofig') Suppress the figure command, so plot can be sub-plotted.
See also: MS_SPHERE, MS_PHASEVELS