pttools.analysis.plot_model

Plot thermodynamic quantities for a model

Classes

class pttools.analysis.plot_model.ModelPlot(model, t_min=None, t_max=None, t_log_range=2, t_log=True, y_log=True, n_points=20)

Bases: object

Parameters:
  • model (Model)

  • t_min (float)

  • t_max (float)

  • t_log_range (float)

  • t_log (bool)

  • y_log (bool)

  • n_points (int)

plot(ax, func, label=None, label_s=None, label_b=None, y_lim=True, y_log=True)
Parameters:
  • ax (Axes)

  • func (callable)

  • label (str)

  • label_s (str)

  • label_b (str)

  • y_lim (bool)

  • y_log (bool)