Skip to content

Plotting Module

Interactive plotting tools and utilities.

Note

The plotting module provides the PlotData class used internally by the GUI. For custom plotting, it's recommended to use matplotlib directly as shown in the Plotting Guide.

plotting

Created on Tue Aug 28 19:04:14 2018

@author: tb267

Attributes

LINE_ALPHA module-attribute
LINE_ALPHA = 0.9

Classes

PlotSonoData
Attributes
fig instance-attribute
fig = fig
canvas instance-attribute
canvas = canvas
ax instance-attribute
ax = subplots()
Functions
update
update(sono_data_list, n_set=0, n_chan=0)
PlotData
Attributes
fig instance-attribute
fig = fig
canvas instance-attribute
canvas = canvas
ax instance-attribute
ax = subplots()
ax2 instance-attribute
ax2 = twinx()
line_listbyset instance-attribute
line_listbyset = []
line2_listbyset instance-attribute
line2_listbyset = []
pcolor_sono instance-attribute
pcolor_sono = None
visibility instance-attribute
visibility = True
Functions
update
update(data_list, sets='all', channels='all', xlinlog='linear', show_coherence=True, plot_type=None, coherence_plot_type='linear', freq_range=None, auto_xy='xyc')
update_legend
update_legend(loc='lower right', draggable=False)
auto_x
auto_x()
auto_y
auto_y()
channel_select
channel_select(event)
get_selected_channels
get_selected_channels()
set_selected_channels
set_selected_channels(s)
update_sonogram
update_sonogram(sono_data_list, n_set, n_chan, db_range=60, auto_xy='xy')