octadist.plot

class octadist.src.plot.Plot(*args, name1='Var1', name2='Var2')[source]

Relationship plot between Zeta and Sigma parameters.

Parameters:
  • args[0] (list) – List of data set 1 (data1).

  • list (args[0] =) – List of data set 2 (data2).

  • str (name2 =) – Name of data set 1.

  • optional – Name of data set 1.

  • str – Name of data set 2.

  • optional – Name of data set 2.

Examples

>>> data1 = [1, 2, 3, 4, 5]
>>> data2 = [1, 2, 3, 4, 5]
>>> test = Plot(data1, data2, name1="Data 1", name2="Data 2")
>>> test.add_point()
>>> test.add_text()
>>> test.add_legend()
>>> test.show_plot()
start_plot()[source]

Start plot.

add_point()[source]

Add all atoms to show in figure.

add_text()[source]

Added text to show in figure.

add_legend()[source]

Add legend to show in figure.

config_plot()[source]

Config structure of figure.

set_label()[source]

Set title of figure and axis labels.

static save_img(save='Image_saved_by_OctaDist', file='png')[source]

Save figure as an image.

Parameters:
  • save (str) – Name of image file. Default is “Complex_saved_by_OctaDist”.

  • file (file) – Image type. Default is “png”.

static show_plot()[source]

Show plot.