Skip to content
João M.C. Teixeira edited this page Feb 10, 2019 · 2 revisions

rmsd_chain_per_subplot

plot.rmsd_chain_per_subplot(x_data, y_data, *, labels='No labels provided', suptitle='RMSDs per chain', x_label='Frame Number', y_label='RMSDs', colors=['b', 'g', 'r', 'c', 'm', 'y', 'k', 'w'], alpha=0.7, grid=True, grid_color='lightgrey', grid_ls='-', grid_lw=1, grid_alpha=0.5, legend=True, legend_fs=6, legend_loc=4, fig_name='rmsd_chain_per_subplot.pdf', **kwargs)

single plot with the combined RMSD.

Data Relevant Parameters

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

x_data : interable
Container of the X axis data. Should be accepted by matplotlib.

y_data : np.ndarray, shape=(N, M) Container of the Y axis data. Where N is the number of chains (data series), and M the data for each series (RMSDs of a given chain)

labels : str, optional The chain labels to represent in plot legend. Defauts to: "no labels provided".

fig_name : 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.

Plot Style Parameters

Plot style parameters concern only plot style, i.e., colors, shapes, fonts, etc... and do not distort the actual data. The large number of style parameters available renders unpractical their complete description in this docstring. Parameter names are self-explanatory and are liste help() called on this function.

Clone this wiki locally