morpho.processors.plots.RootCanvas module

Some template vars

Members: RootCanvas

Functions:

Classes:

Root-based canvas class Authors: M. Guigue Date: 06/26/18

Summary

Data:

Reference

class morpho.processors.plots.RootCanvas.RootCanvas(input_dict, optStat='emr')[source]

Bases: object

Create default ROOT canvas object.

Parameters:
  • width – window width (default=600)
  • height – window height (default=400)
  • title – canvas title
  • x_title – title of the x axis
  • y_title – title of the y axis
  • options – other options (logy, logx)
  • output_path – where to save the plot
  • output_pformat – plot format (default=pdf)
cd(number=0)[source]

Go to frame ‘number’ of the TCanvas

Divide(cols, rows)[source]

Divide the TCanvas

Draw()[source]

Draw the TCanvas

Save()[source]

Save the TCanvas