This project provides a few Python libraries to easily plot ROOT objects.
rdir
- interface to browse multiple ROOT files.
rplot
- interface to plot ROOT objects.
rplotsh
- script to interactively browse multiple ROOT files, read objects, and plot them.
r2mpl
- ROOT to matplotlib translation layer.
At the moment there are no install scripts. So all you need to do is add a symlink to the python script rplotsh.py somewhere in your path. This is what I do:
$ export PATH=~/bin:$PATH $ ln -s ~/bin/rplotsh /path/to/repo/rplotsh.py
After the above steps, rplotsh should work from anywhere.
plot <object> | <list>
set grid ... set linestyle | linecolour | linewidth ... set stack set legends ...
- [X] list objects
lsmem [memobj]...
- [ ] move objects to container
mv <memobj>... <container>
cat | print [-v] <obj>
- For histograms, graphs, etc, show contents
- For trees, show branch information
- Inspect (range of) entries, branches
- Looping constructs
- Splicing trees into subtrees by selection. How to do this?
- entrylist: book keeping
- clonetree: possible memory issues
- Browse workspace
- State “WInP” from “TODO” [2015-05-23 Sat 11:49]
Histograms in mpl
still retain the dataset granularity, whereas it
is lost in ROOT. Need to fake this behaviour during conversion.