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

Suppose that one has a sufficient number of measurements to make an estimate of a measured quantity y y y 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 y y y.
在这里插入图片描述
If plotted on a logarithmic plot, however, absolute error bars that are symmetric on a y y y vs. x x x 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 z z z, is different than the measured quantity y y y. 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 ≈ d z = d [ log ⁡ 10 e ⋅ ln ⁡ y ] ≈ 0.434 δ y y \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 y y y: δ z ≈ 0.434 δ y y \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

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值