chaosmagpy.plot_utils.plot_timeseries¶
- chaosmagpy.plot_utils.plot_timeseries(time, *args, **kwargs)[source]¶
Creates line plots for the timeseries of the input arguments.
- Parameters:
- timendarray, shape (N,)
Array containing time in modified Julian dates.
- *argsndarray, shape (N, k)
Array containing k columns of values to plot against time. Several arrays can be provided as separated arguments.
- Other Parameters:
- figsize2-tuple of floats
Figure dimension (width, height) in inches.
- titleslist of strings
Subplot titles (defaults to empty strings).
- ylabelstring
Label of the vertical axis (defaults to an empty string).
- layout2-tuple of int
Layout of the subplots (defaults to vertically stacked subplots).
- **kwargskeywords
Other options to pass to matplotlib plotting method.
Notes
You may need to call matplotlib
plt.show()to actually show the plot. For more customization get access to the figure and axes handles through matplotlib by usingfig = plt.gcf()andaxes = fig.axesright after the call to this plotting method.