请问泰勒图如何绘制?为什么有些用模式标准差和参考样本差之比,而有些是直接用模式标准差?

def plot_taylor(axes, refsample, sample, *args, **kwargs):
std = np.std(refsample)/np.std(sample) or std = np.std(sample)
corr = np.corrcoef(refsample, sample)
theta = np.arccos(corr[0,1])
t,r = theta,std
d = axes.plot(t,r, *args, **kwargs)
return d
哪种是对的?