Input/Output#
Navigation#
Save histograms#
Save histograms created by numpy.histogram() or numpy.histogram2d()
as text files.
|
Save a 1d histogram to a file. |
|
Save a 2d histogram to a file. |
Load data#
You can either load data from a text or a ROOT file.
You can either load it as a histogram, i.e., as an instance of Hist1D
or Hist2d, or as NumPy numpy.ndarray.
When loading 2D data as ndarray, they are wrapped in a
PcolormeshData (or ImshowData). These are basically
wrapper functions providing some convenience. See documentation of
load_2d_from_txt() and load_2d_from_root() for more information.
|
Load a text file. |
|
Import a 1d histogram from a ROOT file. |
|
Load 2D data stored in a text file. |
|
Load 2D data stored in a ROOT file. |
Save plots#
|
Save a |