pyrad.graph.plot_along_coord#

pyrad.graph.plot_along_coord(xval_list, yval_list, fname_list, labelx='coord', labely='Value', labels=None, title='Plot along coordinate', colors=None, linestyles=None, ymin=None, ymax=None, dpi=72, data_on_y=True, plot_legend=True)[source]#

plots data along a certain radar coordinate

Parameters:
  • xval_list (list of float arrays) – the x values, range, azimuth or elevation

  • yval_list (list of float arrays) – the y values. Parameter to plot

  • 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

  • labels (array of str) – The label of the legend

  • title (str) – The figure title

  • colors (array of str) – Specifies the colors of each line

  • linestyles (array of str) – Specifies the line style of each line

  • ymin, ymax (float) – Lower/Upper limit of y axis

  • dpi (int) – dots per inch

  • data_on_y (bool) – If True the data is in the y axis and the coordinate in the x axis. False swaps it

  • plot_legend (bool) – If True a legend will be plotted

Returns:

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