invert4geom.plot_inversion_grav_results#
- plot_inversion_grav_results(grav_results, region, constraints_df=None, fig_height=12, constraint_style='x.3c', epsg=None, coast=False)[source]#
plot the initial and final misfit grids from the inversion and their difference
- Parameters:
grav_results (
DataFrame) ā resulting dataframe of gravity data from the inversionregion (
tuple[float,float,float,float]) ā region to use for gridding in format (xmin, xmax, ymin, ymax)iterations (list[int]) ā list of all the iteration numbers
constraints_df (
DataFrame|None) ā constraint points to include in the plotsfig_height (
float) ā height of the figure, by default 12constraint_style (
str) ā pygmt style string for for constraint points, by default āx.3cāepsg (
str|None) ā EPSG code of the data if wanting to plot coastlines, by default Nonecoast (
bool) ā add coastline to plots, by default False
- Return type: