pyrad.graph.plot_scatter_comp#

pyrad.graph.plot_scatter_comp(value1, value2, fname_list, labelx='Sensor 1', labely='Sensor 2', titl='Scatter', axis=None, metadata=None, dpi=72, ax=None, fig=None, save_fig=True, point_format='bx')[source]#

plots the scatter between two time series

Parameters:
  • value1 (float array) – values of the first time series

  • value2 (float array) – values of the second time series

  • fname_list (list of str) – list of names of the files where to store the plot

  • labelx (str) – The label of the X axis

  • labely (str) – The label of the Y axis

  • titl (str) – The figure title

  • axis (str) – type of axis

  • metadata (string) – a string containing metadata

  • dpi (int) – dots per inch

  • fig (Figure) – Figure to add the colorbar to. If none a new figure will be created

  • ax (Axis) – Axis to plot on. if fig is None a new axis will be created

  • save_fig (bool) – if true save the figure if false it does not close the plot and returns the handle to the figure

  • point_format (str) – format of the scatter point

Returns:

fname_list (list of str) – list of names of the created plots