欢迎访问!

Office学习网

您现在的位置是:主页 > 网络技术

网络技术

semilogx and errorbar

发布时间:2026-09-26网络技术次评论
Hello, does anybody have an idea how to set the x-axis     gt; scale to logarithmic on an errorbar plot? In other words,     gt; is there any w

John_Hunter 2006 年7 月 5 日 14:07 1 Hello。

is there any way to plot data with error bars while having x-axis scale logarithmic? Many thanks in advance for any useful suggestions. On any type of plot where the data on a given axis is strictly positive, 10) ax.set_xscale('log') With errorbars, you should be able to set the scale to 'log'. Just make sure that the axis limits are also strictly positive. Eg ax.set_xlim(0.01,。

you'll get an error with log scaling. , because if the error limits on one of your positive datapoints extend into non-positive territory, you have to be careful, does anybody have an idea how to set the x-axis scale to logarithmic on an errorbar plot? In other words。

广告位

热心评论

评论列表