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

2015-04-07 Thread Jody Klymak
xerr is +/- relative to the data: *xerr*/*yerr*: [ scalar | N, Nx1, or 2xN array-like ] If a scalar number, len(N) array-like object, or an Nx1 array-like object, errorbars are drawn at +/-value relative to the data. If a sequence of shape 2xN, errorbars are drawn at -row1 an

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

2015-04-07 Thread Markus Haider
I have the error from a table which is in log units, and the error is given to be symmetric in log space. Cheers, Markus On 2015-04-07 16:40, Yuxiang Wang wrote: > Typo - "standard deviation OR standard error of mean", not "OF". > > Sorry. > > Shawn > > > On Tue, Apr 7, 2015 at 10:39 AM, Yuxiang

[Matplotlib-users] sharex with one figure aspect = 1.0

2015-04-07 Thread Mark Bakker
Hello list, I want to axes above each other. They share the x-axis. The top figure has 'aspect=1' (it is a map), the bottom figure shows a cross-section along a horizontal line on the map, so it doesn't have 'aspect=1'. When I do this with code, for example like this: fig, axes = plt.subplots(nro

Re: [Matplotlib-users] Artifacts when saving as PDF

2015-04-07 Thread Steven Boada
Hi Tom, Thanks for your help. interpolation='nearest' doesn't produce any problems. I'm currently using TkAgg, and I checked with a buddy of mine, using MacOSX backend. Neither of us see any problems using interpolation='nearest'. He is using an older version of MPL which doesn't let him use

Re: [Matplotlib-users] Artifacts when saving as PDF

2015-04-07 Thread Thomas Caswell
This probably should be made into an issue on github as this is clearly a bug. On further consideration, the fact that in my example the bad pixels show up only on the edge and are not symmetric makes me think that my original suggestion is wrong. Does `interpoltation='nearest'` work any better?

Re: [Matplotlib-users] Artifacts when saving as PDF

2015-04-07 Thread Steven Boada
Thomas, Thanks for the smaller example. I would have come up with one, but I wasn't sure what was causing it to begin with. Is there anything to be done to prevent this? Just use another backend? Steven On 4/6/15 8:47 PM, Thomas Caswell wrote: > This is probaly due to issues with not all of th

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

2015-04-07 Thread Yuxiang Wang
Typo - "standard deviation OR standard error of mean", not "OF". Sorry. Shawn 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

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

2015-04-07 Thread Yuxiang Wang
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 wrote: > Hi, > > I am trying to make an errorbar plot with a logarithmic x-axis. I have > symmetric errors in logspace, howeve

[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