rstoolbox.plot.
plot_SPR
(df, ax, datacolor=0, fitcolor=0, max_time=None, max_response=None)¶Plot Surface Plasmon Resonance data.
Plots SPR data as read by read_SPR()
. Only plots those concentrations for which
a corresponding fitting curve
exists.
Parameters: |
|
---|
See also
Example
In [1]: from rstoolbox.io import read_SPR
...: from rstoolbox.plot import plot_SPR
...: import pandas as pd
...: pd.set_option('display.width', 1000)
...: pd.set_option('display.max_columns', 500)
...: df = read_SPR("../rstoolbox/tests/data/spr_data.csv.gz")
...: fig = plt.figure(figsize=(10, 6.7))
...: ax = plt.subplot2grid((1, 1), (0, 0))
...: plot_SPR(df, ax, datacolor='black', fitcolor='red')
...:
In [2]: plt.show()
In [3]: plt.close()