- qspec.analyze. draw_sigma2d ( x , y , sigma_x , sigma_y , corr , n=1 , **kwargs )[source]
-
Draw the $n\sigma$ bounds of the given data points $(x, y)$ with standard deviations $(\sigma_x, \sigma_y)$ and correlation $\rho_{xy}$, see
ellipse2d.- Parameters:
-
- xarray_like
The $x$ data.
- yarray_like
The $y$ data.
- sigma_xarray_like
The standard deviation $\sigma_x$ of the
xdata.- sigma_yarray_like
The standard deviation $\sigma_y$ of the
ydata.- corrarray_like
The correlation coefficients $\rho_{xy}$ between the
xandydata.- nint
The maximum sigma region $n$ to draw.
- kwargs
Additional keyword arguments are passed to
matplotlib.pyplot.plot. Use the keyfmtto specify the format string (third argument) ofmatplotlib.pyplot.plot.