pyrad.graph._plot_time_range#
- pyrad.graph._plot_time_range(rad_time, rad_range, rad_data, field_name, fname_list, titl='Time-Range plot', xlabel='time (s from start time)', ylabel='range (Km)', clabel=None, vmin=None, vmax=None, figsize=(10, 8), save_fig=True, dpi=72)[source]#
plots a time-range plot
- Parameters:
rad_time (1D array) – array containing the x dimension (typically time)
rad_range (1D array) – array containing the y dimension (typically range)
rad_data (2D array) – array containing the data to plot
field_name (str or None) – field name. Used to define plot characteristics
fname_list (list of str) – list of names of the files where to store the plot
titl (str) – Plot title
xlabel, ylabel (str) – x- and y-axis labels
clabel (str or None) – colorbar label
vmin, vmax (float) – min and max values of the color bar
figsize (list) – figure size [xsize, ysize]
save_fig (bool) – If true the figure is saved in files fname_list. Otherwise the fig and ax is returned
dpi (int) – dpi
- Returns:
fname_list (list of str) – list of names of the created plots or
fig, ax (object) – handles to fig and ax objects