zone_flags_plot

petrophys.visualization.zone_flags_plot

Also available as petrophys.zone_flags_plot

zone_flags_plot(well, flag_curves, colors=None, top=None, bottom=None, figsize=(4, 12))[source]

Plot zone flags as colored columns.

Parameters:
  • well (Well) – Well object

  • flag_curves (list) – List of flag curve names to plot

  • colors (dict, optional) – Dictionary mapping curve names to colors. Flags the log plot knows (NET_ROCK, NET_RES, NET_PAY, SEALFLAG) default to its colours.

  • top (float, optional) – Depth window, in the depth unit of the data; an end not given is the data’s own.

  • bottom (float, optional) – Depth window, in the depth unit of the data; an end not given is the data’s own.

  • figsize (tuple) – Figure size

Returns:

.fig and .ax; .save(path). Shows itself at the end of a notebook cell.

Return type:

Plot