Easily label line(s) using matplotlib. The code is heavily based on http://stackoverflow.com/questions/16992038/inline-labels-in-matplotlib (original code from ...
X-ray data is frequently plotted on an energy scale in log format. At the same time, the energy range of common detectors is only about one order of magnitude (e.g. Chandra ACIS .4 - 10 keV, XMM EPIC ...
It is possible to set a logarithmic scale for one or both axes. This functionality is in fact only one application of a more general transformation system in Matplotlib. Each of the axes' scales are ...