>>>>> "Darius" == Darius Vainius <[EMAIL PROTECTED]> writes:
Darius> Hello, does anybody have an idea how to set the x-axis
Darius> scale to logarithmic on an errorbar plot? In other words,
Darius> is there any way to plot data with error bars while having
Darius> x-axis scale logarithmic?
Darius> Many thanks in advance for any useful suggestions.
On any type of plot where the data on a given axis is strictly
positive, 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, 10)
ax.set_xscale('log')
With errorbars, you have to be careful, because if the error limits on
one of your positive datapoints extend into non-positive territory,
you'll get an error with log scaling.
JDH
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users