Plots

Plot a single parameter.

bioplottemplates.plots.param.plot(x_data, y_data, *, labels='No label provided', title=None, xlabel=None, ylabel=None, colors=('b', 'g', 'r', 'c', 'm', 'y', 'k'), alpha=0.7, xmax=None, xmin=None, ymax=None, ymin=None, grid=True, grid_color='lightgrey', grid_ls='-', grid_lw=1, grid_alpha=0.5, legend=True, legend_fs=6, legend_loc=4, vert_lines=None, figsize=(8, 6), filename='plot_param.pdf', **kwargs)[source]

Plot a single plot with the combined RMSD.

Bellow parameters concern data representation and are considered of highest importance because their incorrect use can mislead data analysis and consequent conclusions.

Plot style parameters concernning only plot style, i.e., colors, shapes, fonts, etc… and which do not distort the actual data, are not listed in the paremeter list bellow. We hope these parameter names are self-explanatory and are listed in the function definition.

Parameters:
  • x_data (interable of numbers) – Container of the X axis data. Should be accepted by matplotlib.
  • y_data (np.ndarray, shape=(M,)) – Container of the Y axis data. Where M is the RMSDs data for the combined chains.
  • labels (str, optional) – The label to represent in plot legend. If a list of series is provided, a list of labels can be provided as well. Defauts to: “no labels provided”.
  • filename (str, optional) – The file name with which the plot figure will be saved in disk. Defaults to rmsd_individual_chains_one_subplot.pdf. You can change the file type by specifying its extention in the file name.
  • fig_size (tuple of float or int) – The size ratio of the subplot in the figure.

Plot a single parameter.

bioplottemplates.plots.label_dots.plot(x_labels, y_data, title=None, xlabel=None, ylabel=None, series_labels=None, legend=True, legend_fs=6, legend_loc=4, numeric_x_labels=False, colors=('b', 'g', 'r', 'c', 'm', 'y', 'k'), alpha=0.7, grid=True, grid_color='lightgrey', grid_ls='-', grid_lw=1, grid_alpha=0.5, figsize=(10, 6), filename='plot_param.pdf', **kwargs)[source]