Equidistant offsets to points on a log scale

조회 수: 3 (최근 30일)
Allen Goldstein
Allen Goldstein 2020년 10월 31일
답변: Star Strider 2020년 10월 31일
I am trying to plot multiple sets of data points and error bars on a log x axis (e.g. three sets of points with the same x values). I want to offset the error bars a little from the data points so they do not overlap each other. I need to find offsets to each of the x values so that error bar appear equidistant from the central point at each x value.
In my example of three point per x value, one error bar would be on each x value, one slightly before it and one slightly behind it.
Can anyone give me a formula where i input the set of x values and output offsets to either side tht will appear equidistant from the original set?

답변 (1개)

Star Strider
Star Strider 2020년 10월 31일
I’m not certain what you want.
See if my Answer in I cannot get these error bars to work for the life of me describes (and possibly solves) your problem.

카테고리

Help CenterFile Exchange에서 Line Plots에 대해 자세히 알아보기

태그

제품


릴리스

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by