[Matplotlib-users] AxesGrid: X axis dates and other axis questions.

2009-12-11 Thread Ryan Neve
(sorry if this is a duplicate post) Jae, Thank you for your help. I found the problem. It was caused by using pyplot.title(). It is working better now. I next have to figure out how to do the following within AxesGrid: 1. How to convert the x axis labels from an integer value representing e

Re: [Matplotlib-users] AxesGrid problem.

2009-12-08 Thread Ryan Neve
Sorry for the delay. I don't know if I ever included my software versions: Python & IDLE 2.6.2 matplotlib 0.99.0 numpy 1.4.0rc1 (I was using 1.3.0) Here is more complete code. This is the only place I use matplotlib for anything so I don't think any earlier code should affect the plot. I've include

Re: [Matplotlib-users] AxesGrid problem.

2009-12-04 Thread Ryan Neve
version of matplotlib you're using. The axes_grid > toolkit is relatively new and some of the feature may not work in older > versions. > > Regards, > > -JJ > > > >> Thank you very much for your help, >> >> -Ryan >> >> >> >> On Wed, D

Re: [Matplotlib-users] AxesGrid problem.

2009-12-03 Thread Ryan Neve
pens because, when the AxesGrid is created, gca() is set to the > last axes, which is the last colobar axes. > > If you use axes_grid toolkit, you'd better not use pyplot command that > works on axes. Instead, use axes method directly. > > For example, instead of "

[Matplotlib-users] AxesGrid problem.

2009-12-02 Thread Ryan Neve
Hello, I'm trying to use AxesGrid but I'm running into a problem: I can plot a single pcolor plot: [image: 58dFK.png] But when I try to use AxesGrid, my pcolor plot is ending up where I expect my colorbar to be. [image: mEbTA.png] I want to have up to 6 of these plots stacked vertically, sharing

Re: [Matplotlib-users] Unwanted lines between contourf() contour levels

2009-11-12 Thread Ryan Neve
ity substantially to smooth the data. I don't know if this matters. I'm not familiar with pcolorfast & pcolormesh, but I'll look in to that tomorrow. Many Thanks, -Ryan On Thu, Nov 12, 2009 at 1:11 PM, Eric Firing wrote: > Ryan Neve wrote: > >> Thank you for t

Re: [Matplotlib-users] Unwanted lines between contourf() contour levels

2009-11-12 Thread Ryan Neve
7;t find any example pictures online of matplotlib's contourf() producing a "smooth" plot, I know matlab's does it: http://www.mbari.org/bog/Projects/CentralCal/summary/images/m1_nuts_ts_contour.jpg -Ryan On Wed, Nov 11, 2009 at 5:08 PM, Eric Firing wrote: > Ryan Neve wrot

[Matplotlib-users] Unwanted lines between contourf() contour levels

2009-11-11 Thread Ryan Neve
Hello, In my filled contour plot: http://imgur.com/vXoCL.png There are faint lines between the contour levels. I think they are yellow since they disappear in the yellow parts of the graph and are most obvious in the red areas. Is there any way to get rid of these lines? The number of contour level

[Matplotlib-users] Filling in missing samples by interpolating.

2009-09-02 Thread Ryan Neve
Hello, I've got many 1d arrays of data which contain occasional NaNs where there weren't any samples at that depth bin. Something like this... array([np.nan,1,2,3,np.nan,5,6,7,8,np.nan,np.nan,11,12,np.nan,np.nan,np.nan]) But much bigger, and I have hundreds of them. Most NaN's are isolated betwee

[Matplotlib-users] How to contour plot my water quality data?

2009-08-24 Thread Ryan Neve
Hello, I hope someone can give me a tip to get this working. I have some data that I have manipulated in to the following format: x_dim is a 1D array of sample times (in minutes) array([ 0, 30, 60, 90, 120, 150, 180, 210, 240, 270, 300, 330, 360, 390, 420, 450, 480, 5