hyperspy/hyperspy — pull request #53 by AEljarrat (2012-12-18 10:43:24+00:00)
Title: Threshold line plot

The main idea is to add a new option, axvline_data (np.array), to signal.plot(). When the np.array passed to plot through this option has the same navigation space as the plotted signal, the data will be used to add a marker line to the spectrum plot, updating corresponding to the actual coordinates.

I would use this new option to monitorize the results of methods that output signals with the same navigation space and scalar signal space, for example, a matrix of energy positions in the spectra, one for each. Like the estimate_elastic_scattering_threshold living in the ZLP_removal branch.