plot_scatter_bars¶
-
fiducia.pltDefaults.
plot_scatter_bars
(xData, yData, yErrsPos, yErrsNeg=[], label='', **kwargs)[source]¶ Generate a scatter plot with y-error bars. Can be run multiple times before plt.show(), to plot multiple data sets on the same axes.
- Parameters
xData (numpy.ndarray) – X-axis data to be plotted.
yData (numpy.ndarray) – Y-axis data to be plotted.
yErrsPos (numpy.ndarray) – Errors on yData.
yErrsPos – When errors on yData are asymmetric, these are the positive side errors.
yErrsNeg (numpy.ndarray) – When errors on yData are asymmetric, these are the negative side errors.
Notes
Examples