semilogx and errorbar
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。
相关文章
广告位
评论列表