sbmlsim.plot.plotting_matplotlib
¶
Module Contents¶
Classes¶
Serializing figure to matplotlib figure. |
Functions¶
|
Interpolation for speedup of plots |
|
Adding information from a simulation result to a matplotlib figure. |
|
Add experimental data to a matplotlib axes. |
Attributes¶
- sbmlsim.plot.plotting_matplotlib.interp(x, xp, fp)[source]¶
Interpolation for speedup of plots
- Parameters
x –
xp –
fp –
- Returns
- class sbmlsim.plot.plotting_matplotlib.MatplotlibFigureSerializer[source]¶
Bases:
object
Serializing figure to matplotlib figure.
- static to_figure(figure)[source]¶
Convert sbmlsim.Figure to matplotlib figure.
- Parameters
figure (sbmlsim.plot.Figure) –
- Return type
matplotlib.pyplot.Figure
- sbmlsim.plot.plotting_matplotlib.add_line(ax, xres, xid, yid, xunit, yunit, yres=None, xf=1.0, yf=1.0, all_lines=False, label='__nolabel__', **kwargs)[source]¶
Adding information from a simulation result to a matplotlib figure.
This is deprecated the sbmlsim.plot.plotting Figure, Plot, Curves, … should be used.
- Parameters
ax (matplotlib.pyplot.Axes) – axis to plot to
xres (sbmlsim.result.XResult) – Result data structure
xid (str) – id for xdata
yid (str) – id for ydata
all_lines – plot all individual lines
xunit – target unit for x
yunit – target unit for y
color –
yres (sbmlsim.result.XResult) –
- Returns
- sbmlsim.plot.plotting_matplotlib.add_data(ax, data, xid, yid, yid_sd=None, yid_se=None, count=None, xunit=None, yunit=None, xf=1.0, yf=1.0, label='__nolabel__', **kwargs)[source]¶
Add experimental data to a matplotlib axes.
This is deprecated the plotting Figure, Plot, Curves, should be used instead.
- Parameters
ax (matplotlib.pyplot.Axes) –
data (sbmlsim.data.DataSet) –
xid (str) –
yid (str) –
xunit –
yunit –
label –
kwargs –
- Returns