Plotting Logarithmic Error Bars(如何在log log plot中绘制误差条)

本文探讨了在对数坐标系中正确表示测量数据的误差棒的方法。指出在对数坐标下,原本对称的误差棒会变得不对称,导致精度表现失真。通过转换被绘图的量为对数值,并计算其相对误差,可以得到在对数图上正确显示的误差棒。

Suppose that one has a sufficient number of measurements to make an estimate of a measured quantity yyy and report its absolute error, ±δy\pm\delta y±δy. The absolute error ±δy\pm\delta y±δy is represented on a Cartesian plot by extending lines of the appropriate size above and below the point yyy.
在这里插入图片描述
If plotted on a logarithmic plot, however, absolute error bars that are symmetric on a yyy vs. xxx plot become asymmetric; the lower portion is longer than the upper portion.
在这里插入图片描述
This gives a misleading view of measurement precision, especially when measured quantities vary by several orders of magnitude. To represent error bars correctly on a log plot, one must recognize that the quantity being plotted, which we call zzz, is different than the measured quantity yyy. z=log⁡(y)z=\log(y)z=log(y) The error δz\delta zδz is δz=δ[log⁡y]\delta z=\delta[\log y]δz=δ[logy] On the assumption of small errors, a differential analysis can be used δz≈dz=d[log⁡10e⋅ln⁡y]≈0.434δyy\delta z\approx dz=d[\log_{10}e \cdot\ln y]\approx0.434\frac{\delta y}{y}δzdz=d[log10elny]0.434yδy The error δz\delta zδz is thus given by the relative error in yyy: δz≈0.434δyy\delta z\approx 0.434\frac{\delta y}{y}δz0.434yδy The error bars now display correctly on a logarithmic plot.
在这里插入图片描述

Reference: https://faculty.washington.edu/stuve/log_error.pdf

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值