xtgeoviz.plot.xtmap module
Module for map plots of surfaces, using matplotlib.
- class xtgeoviz.plot.xtmap.Map[source]
Bases:
BasePlot
Class for plotting a map, using matplotlib.
The constructor method for a Map object.
- property pagesize
Returns page size.
- plot_surface(surf, minvalue=None, maxvalue=None, contourlevels=None, xlabelrotation=None, colormap=None, logarithmic=False)[source]
Input a surface and plot it.
- plot_faults(fpoly, idname='POLY_ID', color='k', edgecolor='k', alpha=0.7, linewidth=0.8)[source]
Plot the faults.
- Parameters:
fpoly (object) – A XTGeo Polygons object
idname (str) – Name of column which has the faults ID
color (c) – Fill color model c according to Matplotlib
edgecolor (c) – Edge color according to Matplotlib
alpha (float) – Degree of opacity
linewidth (float) – Line width
- plot_polygons(fpoly, idname='POLY_ID', color='k', linewidth=0.8)[source]
Plot a polygons instance.
- Parameters:
fpoly (object) – A XTGeo Polygons object
idname (str) – Name of column which has the faults ID
color (c) – Line color model c according to Matplotlib
linewidth (float) – Line width