gnuplot_2d

gnuplot_2d(x, y, filename, title='', x_label='', y_label='')[source]

Function to produce a general 2D plot.

Parameters:
  • x (list) – x points.
  • y (list) – y points.
  • filename (str) – Filename of the output image.
  • title (str) – Title of the plot. Default is ‘’ (no title).
  • x_label (str) – x-axis label.
  • y_label (str) – y-axis label.