bionet.utils.plotting.plot_compare¶
- bionet.utils.plotting.plot_compare(t, u, v, fig_title='', file_name='')¶
Compare two signals and plot the difference between them.
Parameters: t : ndarray of floats
Times (s) at which the signal is defined.
u, v : ndarrays of floats
Signal samples.
fig_title : string
Plot title.
file_name : string
File in which to save the plot.