xoa.core.plot.plot_taylor#
- xoa.core.plot.plot_taylor(std, corr, ref_std=1.0, diagram=None, **kwargs)[source]#
Plot points in a Taylor diagram
- Parameters:
std (array_like(n)) – Standard deviations and correlations of
npoints. The correlations may be negative.corr (array_like(n)) – Standard deviations and correlations of
npoints. The correlations may be negative.ref_std (float) – Standard deviation of the reference. The default of 1 is for data that are already normalized by the reference.
diagram (None, TaylorDiagram) – Existing diagram. It is created when not provided, with a half circle if there are negative correlations and a maximal standard deviation that fits the points.
kwargs – Parameters of
TaylorDiagramwhen the diagram is created, or ofTaylorDiagram.add_points(), likelabels,valuesandmarkers.
- Returns:
TaylorDiagram – The diagram, which holds the axes in its
axattribute and the plotted artists
Example
plot_taylor([0.9, 1.2, 0.7], [0.95, 0.8, -0.3], labels=["a", "b", "c"], markers=["o", "s", "^"])