pylipid.plot.plot_surface_area¶
- pylipid.plot.plot_surface_area(surface_area, fig_fn, timeunit=None, fig_close=False)[source]¶
Plot binding site surface area as a function of time.
The provided
surface_area
needs to be a pandas.DataFrame object, which has columns named as “Binding Site {idx}” to record binding site surface areas and a column named “Time” to record the timesteps at which the surface area data are taken.- Parameters
surface_area (pandas.DataFrame) – A pandas.DataFrame object which has columns named as “Binding Site {idx}” to record binding site surface areas and a column named “Time” to record the timesteps at which the surface area data
fig_fn (str) – Figure filename.
timeunit ({"ns", "us"} or None, optional, default=None) – Time unit shown in x label.
fig_close (bool, optional, default=False) – Use plt.close() to close the figure. Can be used to save memory if many figures are opened.
See also
pylipid.func.calculate_surface_area
The function that generates surface_area data.