Interactive Plots

Part of the appeal of IDL tplot is that its easy to make plots that interact with the primary plotting window, primarily based on the time that the user is hovering the mouse over.

There are several interactive plots that are in pytplot, specifically ones that are useful for the MAVEN spacecraft, but this page will also describe how to create your own interactive plots.

Spectrogram Slicing

Slicing a spectrogram can be called in a few different ways. The easiest way to do it would be to simply specify “slice=True” when calling tplot

pytplot.tplot("spectrogram_data", slice=True)

Below is what the spectrogram slicer command looks like in a Bokeh graph.

Bokeh Plot