Re: [Matplotlib-users] Boxplots overlayed with plots

2009-05-10 Thread C M
On Mon, May 11, 2009 at 12:52 AM, Gökhan SEVER wrote: > And the answer is: > > axis(xmin=..., xmax=...) > > Probably, that was a very easy question and no one wanted to answer :) > > Gökhan > > > On Sun, May 10, 2009 at 4:12 PM, Gökhan SEVER wrote: >> >> Hello, >> >> I overlay bunch of boxplots w

Re: [Matplotlib-users] Boxplots overlayed with plots

2009-05-10 Thread Gökhan SEVER
And the answer is: axis(xmin=..., xmax=...) Probably, that was a very easy question and no one wanted to answer :) Gökhan On Sun, May 10, 2009 at 4:12 PM, Gökhan SEVER wrote: > Hello, > > I overlay bunch of boxplots with mean values shown as stars on each > corresponding boxplot instance. (A

Re: [Matplotlib-users] mlab.load and non-numeric characters

2009-05-10 Thread Evan Mason
Thanks for that: def ifmissing(x): try: return float(x) except: return np.nan works just fine. -Evan On Sun, May 10, 2009 at 6:59 AM, Ryan May wrote: > > > On Sat, May 9, 2009 at 8:35 PM, Evan Mason wrote: > >> Hi, I want to use mlab.load to load in some data: >> >> >>1) 20

[Matplotlib-users] Autoscale embedding in gtk + dynamical update of plot + Y log scale

2009-05-10 Thread Sandro Tosi
Hi All, I'm facing a weird problem while embedding in a gtk window made with glade (dunno if this might be involved in the problem, but worth noticing) + dynamical update of the plot. What I'm doing is: fig = Figure() ax = fig.add_subplot(111) line, = ax.plot([], []) then using that reference to

[Matplotlib-users] Boxplots overlayed with plots

2009-05-10 Thread Gökhan SEVER
Hello, I overlay bunch of boxplots with mean values shown as stars on each corresponding boxplot instance. (As could be seen in this image: http://img216.imageshack.us/img216/7528/boxplot.png. There is a minor thing that affects the appearance of the figure. That is 1st and the last boxplots don'

[Matplotlib-users] problem with usetex & \color

2009-05-10 Thread Sebastian Busch
Hello everybody! I am experiencing the following problem: when I draw text with usetex enabled and the xcolor package, the result is not colored; however the intermediate steps that I find in .../tex.cache still are! The problem occurs with: = from matplotlib import rc from pylab import fig

Re: [Matplotlib-users] show scaled image (matlab imagesc)

2009-05-10 Thread Ryan May
On Sun, May 10, 2009 at 8:33 AM, Sahar wrote: > Hello, > > Is it possible to autoscale the color map of an image (as in > matlab's 'imagesc')? > I'm using imshow and I can use vmin and vmax but than I have to set these > values manually. > If you don't give it a range, it should autoscale by it

Re: [Matplotlib-users] mlab.load and non-numeric characters

2009-05-10 Thread Ryan May
On Sat, May 9, 2009 at 8:35 PM, Evan Mason wrote: > Hi, I want to use mlab.load to load in some data: > > >1) 2004/02/27 21:51:00 1 2553.51 2553.51 > -99.N 3.217 >2) 2004/02/27 22:01:00 2 2553.47 2553.47 > -99.N 3.217 >

[Matplotlib-users] show scaled image (matlab imagesc)

2009-05-10 Thread Sahar
Hello, Is it possible to autoscale the color map of an image (as in matlab's 'imagesc')? I'm using imshow and I can use vmin and vmax but than I have to set these values manually. Thanks, Sahar **