OnePlot(DFs_list)
Plot all functions from the provided list of DFs (or DFset) on a single figure.
- Parameters:
-
- DFs_list
- - set/list of functions (DF-objects) or even a single DF.
- figsize
- (x,y) - size of the plot in inches
- dpi
- resolution of the plot
- hardcopy
- if true, do not show the plot, just save it to eps.
- outfile
- name of the file to save the plot
- title
- the plot's title. if None, it will be autogenerated using provided
title_template string.
- title_template
- template to generate the title. Default is 'Kind.Type.Name.DFsetName'
- legend_template
- template to generate legend for each function. Default is 'Kind.Type.Name.DFsetName'
- y_lim
- tuple(y_min, y_max) specify range for y-axis
- x_lim
- tuple(x_min, x_max) specify range for x-axis
- legend_fontsize
- Font size in legend
- title_fontsize
- Font size in title
- legend_transparency
- Transparency of the legend's background
- xlabel
- label for X axis
- ylabel
- label for Y axis
- xylabel_fontsize
- Font size of axis labels
Examples:
MT.OnePlot(singleDF)
MT.OnePlot([DF1, DF2, DF3])
MT.OnePlot(DFset)
MT.OnePlot([DFset1, DFset2])
MT.OnePlot(DFset, figsize=(10, 7), dpi=80,
hardcopy=True, outfile='plot.eps',
title='SomeTitle',
legend_template = 'Name.DFsetName',
legend_fontsize=14, title_fontsize=18,
xlabel='Distance', ylabel='RDF', xylabel_fontsize=12))