Re: [Matplotlib-users] Problem with errorbar and log axis

2015-04-08 Thread Markus Haider
data_x_log,data_y,xerr=[xdat-error_x_lower,error_x_upper-xdat],ls='',marker='o') > > Cheers, Jody > >> On 7 Apr 2015, at 13:51 PM, Markus Haider wrote: >> >> I have the error from a table which is in log units, and the error is >> given to b

Re: [Matplotlib-users] Problem with errorbar and log axis

2015-04-07 Thread Markus Haider
t; > > On Tue, Apr 7, 2015 at 10:39 AM, Yuxiang Wang wrote: >> If you error bars denote standard deviation of standard error of mean, >> shouldn't they be non-symmetric in log scale? >> >> Shawn >> >> On Tue, Apr 7, 2015 at 10:11 AM, Markus Haider >&g

[Matplotlib-users] Problem with errorbar and log axis

2015-04-07 Thread Markus Haider
Hi, I am trying to make an errorbar plot with a logarithmic x-axis. I have symmetric errors in logspace, however if I plot them, the errors are not symmetric anymore, as you can see in the enclosed image. Am I misunderstanding something or is this a bug? Thanks for your help, Markus Here th

Re: [Matplotlib-users] Colorbar for pcolor plot

2009-05-20 Thread Markus Haider
Am Mittwoch, den 20.05.2009, 10:21 -0500 schrieb Ryan May: > > Except that it won't work like that. :) (I actually tried that the > first time) You need to give Figure.colorbar() the mappable as the > first argument. So this would then become: > > ax1 = fig.add_subplot(231,aspect='equal') >

Re: [Matplotlib-users] Colorbar for pcolor plot

2009-05-20 Thread Markus Haider
Thank you very much for your detailed explanations. When I try plot1 = fig.add_subplot(231,aspect='equal') plot1.pcolor(xsr) plot1.axis([0, 127, 0, 127]) plt.colorbar() I get the error message AttributeError: 'NoneType' object has no attribute 'autoscale_None' WARNING: Failure executing file: But

Re: [Matplotlib-users] Bug when saving in PNG?

2009-03-28 Thread Markus Haider
Am Freitag, den 27.03.2009, 07:58 -0500 schrieb John Hunter: > > > On Fri, Mar 27, 2009 at 5:00 AM, marcusantonius > wrote: > > Hi, > > I have a problem when saving my plot as a png. The horizontal > lines, which I > inserted via > axhlin