Next: Deviation
Up: MagicTools procedures reference:
Previous: PlotAllDFs
Contents
DFset.Plot(AtOnce=False, hardcopy=False, title='', linetype='', nolegendintra=False, figsize=(20,14), dpi=80):
Plots all functions stated in the set DFset either on one plot or on few individual plots.
- AtOnce
- - if true, all functions are plotted on the same plot (separated by type: i.g.
3 plots are produced: NB, B and A), otherwise each function is plotted separately
- hardcopy
- - If the plots should be saved as *.eps files (optional argument).
Default value - False, no eps copies are made.
- title
- - Prefix used in a title of each plot (optional argument).
- linetype
- - String defining a type and color of lines according to matplotlib syntax
(optional argument). See more about syntax here:
http://matplotlib.org/api/pyplot_api.html#matplotlib.pyplot.plotmatplotlib tutorial
- nolegendintra
- - If a legend on intramolecular plots should be omitted (optional argument).
Default:False - show the legend everywhere. This option might be useful, when legend overlaps with
curves on plot, usually it can happen when plotting intramolecular DF/potentials.
- figsize
- - Size of the plot in inches (x,y) (optional argument). Default size is (20,14).
- dpi
- - Resolution of the plot in dpi (optional argument). Default value: 80 dpi.
Examples:
RDFref.Plot()
Plot all functions imported in the variable RDFref
(i.e. reference distribution functions), each function on an individual plot.
RDFref.Plot(AtOnce=True)
Plot all functions on the same plot. One plot per function type
will be produced: Non Bonded, Bonded and Angle bending.
Next: Deviation
Up: MagicTools procedures reference:
Previous: PlotAllDFs
Contents
Alexander Lyubartsev
2016-05-03