seismicplot class¶
- class csi.seismicplot(figure=130, ref='utm', pbaspect=None)¶
A class to plot kinematic faults
- Kwargs:
figure : Number of the figure.
ref : ‘utm’ or ‘lonlat’.
pbaspect : XXXXX?????
- faultPatchesGrid(fault, slip='strikeslip', norm=None, colorbar=True, plot_on_2d=False, revmap=False, data=None, plotgrid=True)¶
Plots a grid of fault patches
- Args:
fault : Fault class from verticalfault.
- Kwargs:
slip : Can be ‘strikeslip’, ‘dipslip’ or ‘opening’
Norm : Limits for the colorbar.
colorbar : if True, plots a colorbar.
plot_on_2d : if True, adds the patches on the map.
revmap : Reverse color map
data : add points in the x and y attributes of data
plotgrid : Show grid points
- Returns:
None
- faulttrace(fault, color='r', add=False, data=None)¶
Plot the fault trace
- Args:
fault : Fault class from verticalfault.
- Kwargs:
color : Color of the fault.
add : plot the faults in fault.addfaults
data : Add locations of the x and y attribute of data
- Returns:
None