Re: [Matplotlib-users] Missing bar when last value is 0

2012-09-19 Thread Adam Davis
Yes, that works. Many thanks. On Thu, Sep 20, 2012 at 1:12 AM, Benjamin Root wrote: > > > On Wednesday, September 19, 2012, Adam Davis wrote: > >> If I do: >> >> bar(range(3), [1,0,2]) >> >> ... then I get 2 bars of a suitable width for a 3 bar chart, with a gap >> in between where the middl

Re: [Matplotlib-users] Missing bar when last value is 0

2012-09-19 Thread Benjamin Root
On Wednesday, September 19, 2012, Adam Davis wrote: > If I do: > > bar(range(3), [1,0,2]) > > ... then I get 2 bars of a suitable width for a 3 bar chart, with a gap in > between where the middle bar would be if not equal to 0. Yet if I do: > > bar(range(3), [1,2,0]) > > ... then I get two

[Matplotlib-users] Offsetting tick labels

2012-09-19 Thread Adam Davis
I am trying to get alternating tick labels to move completely above and completely below the x axis. If I call: set_ha('top') ... then the number appears fully below the x axis. However, when I call: set_ha('bottom') ... then the number appears roughly vertically centered on the axis.

[Matplotlib-users] Missing bar when last value is 0

2012-09-19 Thread Adam Davis
If I do: bar(range(3), [1,0,2]) ... then I get 2 bars of a suitable width for a 3 bar chart, with a gap in between where the middle bar would be if not equal to 0. Yet if I do: bar(range(3), [1,2,0]) ... then I get two bars of equal width. Is there a way to preserve the space for the mi

Re: [Matplotlib-users] netcdf4-python build

2012-09-19 Thread Michael Rawlins
> > From: Jeff Whitaker >To: Michael Rawlins >Cc: "matplotlib-users@lists.sourceforge.net" > >Sent: Wednesday, September 19, 2012 5:57 PM >Subject: Re: [Matplotlib-users] netcdf4-python build > > >On 9/19/12 3:29 PM, Michael Rawlins wrote: > > >> >>How is fu

Re: [Matplotlib-users] netcdf4-python build

2012-09-19 Thread Jeff Whitaker
On 9/19/12 3:29 PM, Michael Rawlins wrote: *From:* Jeff Whitaker *To:* Michael Rawlins *Sent:* Wednesday, September 19, 2012 4:57 PM *Subject:* Re: [Matplotlib-users] netcdf4-python build On 9/19

Re: [Matplotlib-users] netcdf4-python build

2012-09-19 Thread Michael Rawlins
> > From: Jeff Whitaker >To: Michael Rawlins >Sent: Wednesday, September 19, 2012 4:57 PM >Subject: Re: [Matplotlib-users] netcdf4-python build > > >On 9/19/12 2:43 PM, Michael Rawlins wrote: > > >> >> >> >> >> >> From: Johann

Re: [Matplotlib-users] netcdf4-python build

2012-09-19 Thread Michael Rawlins
From: Johann Rohwer To: matplotlib-users@lists.sourceforge.net Sent: Wednesday, September 19, 2012 3:22 PM Subject: Re: [Matplotlib-users] netcdf4-python build On 19/09/2012 21:14, Michael Rawlins wrote: > Just installed h5utils from package manager. Getti

Re: [Matplotlib-users] netcdf4-python build

2012-09-19 Thread Johann Rohwer
On 19/09/2012 21:14, Michael Rawlins wrote: > Just installed h5utils from package manager. Getting same errors. In > package manager I'm searching on hdf5. If there's a package there I'm > missing, then it certainly is not obvious. Try libhdf5-serial libhdf5-serial-dev Johann

Re: [Matplotlib-users] netcdf4-python build

2012-09-19 Thread Michael Rawlins
From: Jeff Whitaker To: Michael Rawlins ; Matplotlib Users Sent: Wednesday, September 19, 2012 2:35 PM Subject: Re: [Matplotlib-users] netcdf4-python build On 9/19/12 11:30 AM, Michael Rawlins wrote: > >Ubuntu 12.04 > > >hdf5-tools installed from packa

Re: [Matplotlib-users] netcdf4-python build

2012-09-19 Thread Jeff Whitaker
On 9/19/12 11:30 AM, Michael Rawlins wrote: Ubuntu 12.04 hdf5-tools installed from package manager netcdf-bin and python-netcdf installed from package manager I downloaded netCDF4-1.0fix1.tar.gz

[Matplotlib-users] netcdf4-python build

2012-09-19 Thread Michael Rawlins
Ubuntu 12.04 hdf5-tools installed from package manager netcdf-bin and python-netcdf installed from package manager I downloaded netCDF4-1.0fix1.tar.gz from http://code.google.com/p/netcdf4-python/downloads/list > python setup.py build /usr/bin/ld: cannot find -lhdf5_hl /usr/bin/ld: cannot

[Matplotlib-users] Image as marker and axes "equal" aspect ratio

2012-09-19 Thread Andrea Gavana
Hi All, I am currently trying to plot 4 points (but they will be more, in an animated sequence later), and I am trying to use an image as a point marker. I am using the axes transData transform to get the point coordinates from the data world to the display world. Everything seems to be worki

[Matplotlib-users] Is it possible to have different color for inner and outer face of a 3D plot?

2012-09-19 Thread Fabien Lafont
Actually I want to try to plot something like this picture: http://physics.aps.org/assets/d88621a594e78eea With a color for inside and another for outside. -- Live Security Virtual Conference Exclusive live event will cov