All Projects → kdungs → lhcb-matplotlibrc

kdungs / lhcb-matplotlibrc

Licence: MIT license
A matplotlibrc that produces plots close to the official LHCb style.

Labels

Projects that are alternatives of or similar to lhcb-matplotlibrc

alice-rs
Analyze the public data from the CERN base ALICE collaboration with Rust
Stars: ✭ 81 (+406.25%)
Mutual labels:  cern
eudaq
EUDAQ Data Acquisition Framework
Stars: ✭ 22 (+37.5%)
Mutual labels:  cern
R1D2
[DEPRECATED] A robot that extracts the CERN restaurant menus for you.
Stars: ✭ 12 (-25%)
Mutual labels:  cern
AliceO2
O2 software project for the ALICE experiment at CERN
Stars: ✭ 67 (+318.75%)
Mutual labels:  cern
root-file-viewer
View ROOT files directly in VS Code!
Stars: ✭ 20 (+25%)
Mutual labels:  cern
Quantum-Computing-Collection-Of-Resources
A Well Maintained Repository On Quantum Computing Resources [Code+Theory] Updated Regularly During My Time At IBM, Qubit x Qubit And The Coding School's Introduction To Quantum Computing Course '21
Stars: ✭ 183 (+1043.75%)
Mutual labels:  cern
pyjet
The interface between FastJet and NumPy
Stars: ✭ 31 (+93.75%)
Mutual labels:  cern
numpythia
The interface between PYTHIA and NumPy
Stars: ✭ 33 (+106.25%)
Mutual labels:  cern
alidist
Recipes to build ALICE software
Stars: ✭ 23 (+43.75%)
Mutual labels:  cern

LHCb matplotlibrc

A matplotlibrc that produces plots close to the official LHCb style.

The following options need to be manually specified in your python script:

plt.xlabel(..., ha='right', x=1)
plt.ylabel(..., ha='right', y=1)
plt.legend(loc='best')
plt.minorticks_on()

In order to add a "LHCb Simulation" text box, use:

plt.text(x, y, 'LHCb Simulation', {'size': 28})

If you have multiple matplotlibrc files in one directory or want to load a matplotlibrc from a specific directory you can use the following code:

matplotlib.rc_file('path/to/my/specific/matplotlibrc_LHCb')
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].