mescla.plotting.diagrams.plot_measured_vs_predicted

mescla.plotting.diagrams.plot_measured_vs_predicted(result, observed, ax=None, theme='light', log_scale=True, annotate=3)[source]

Measured against mixing-predicted concentration, all species on one panel.

Points on the 1:1 line behave conservatively. Points above it mean the system gained the species (dissolution, desorption, exchange release); below, that it lost it (precipitation, sorption, redox consumption).

Parameters:
  • annotate (int, default 3) – How many of the worst-departing species to label directly. Labelling every point is unreadable, and crowded labels overlap; the table carries the rest. Labels that would collide with one already placed are dropped.

  • result (Any)

  • observed (Any)

  • ax (Any)

  • theme (str | Theme)

  • log_scale (bool)

Return type:

Any