Re: [Matplotlib-users] plotting tab and comma delimited file (LTSpice waveform export)

2010-12-03 Thread Benjamin Root
On Fri, Dec 3, 2010 at 8:34 PM, K. Larsen wrote: > The LTSpice circuit simulation program outputs a file that looks like this: > > Freq. V(n003) V(n005) V(n007) > 1.0e+000(-1.68072e+002dB,1.79085e+002°) > (-1.71453e-006dB,-3.6e-002°)(-8.40364e+001dB,8.99964e+001°) > 1.07177e+000

[Matplotlib-users] plotting tab and comma delimited file (LTSpice waveform export)

2010-12-03 Thread K. Larsen
The LTSpice circuit simulation program outputs a file that looks like this: Freq. V(n003) V(n005) V(n007) 1.0e+000(-1.68072e+002dB,1.79085e+002°) (-1.71453e-006dB,-3.6e-002°)(-8.40364e+001dB,8.99964e+001°) 1.07177e+000(-1.66868e+002dB,1.79145e+002°) (-1.96947e-006dB,-3.85838e

Re: [Matplotlib-users] upgrade to 1.0 help

2010-12-03 Thread C M
On Fri, Dec 3, 2010 at 8:10 PM, C M wrote: > > > Hello. I've decided to upgrade to matplotlib 1.0, but I'll need to fix a >> few problems that have come up. I was hoping I could get some help on this >> here. >> > > Second problem: the grid background is gone despite these lines are not > thro

Re: [Matplotlib-users] upgrade to 1.0 help

2010-12-03 Thread C M
Hello. I've decided to upgrade to matplotlib 1.0, but I'll need to fix a > few problems that have come up. I was hoping I could get some help on this > here. > Second problem: the grid background is gone despite these lines are not throwing any errors (here, self.subplot is an axis): self.

Re: [Matplotlib-users] Limit legend to visible data

2010-12-03 Thread Goyo
2010/12/3 Justin McCann : > On Wed, Dec 1, 2010 at 11:58 AM, Justin McCann wrote: > This seems to do the trick, but might be a bit too clever. I'm not > sure if get_children() (or findobjs) is the right call to retrieve all > the plot elements. If you are just looking for line2D instances then us

Re: [Matplotlib-users] scientific numbering on mplot3d

2010-12-03 Thread Benjamin Root
On Thu, Dec 2, 2010 at 11:22 AM, Burak TUYSUZ wrote: > Hi all, > I am plotting a 3d surface but at the axis scientific notation works > but I can not see the exponential part at the end of the axis. > I mean it does simplifies > 9.9*e^5 15*e^5 ... > to > 9.9 15 > but there is no e^5

[Matplotlib-users] upgrade to 1.0 help

2010-12-03 Thread C M
Hello. I've decided to upgrade to matplotlib 1.0, but I'll need to fix a few problems that have come up. I was hoping I could get some help on this here. First thing is, I have a bit of point picker code that was written by JJ on this list some time back that has been working well. This is the

Re: [Matplotlib-users] Update values of errorbars [solved]

2010-12-03 Thread Stan West
> From: G. Durin [mailto:g.du...@inrim.it] > Sent: Tuesday, November 23, 2010 08:34 > # Update the error bars > barlinecols[0].set_segments(zip(zip(x-xerr,y), zip(x+xerr,y))) > barlinecols[1].set_segments(zip(zip(x,y-yerr), zip(x,y+yerr))) > > The last lines are a little clumsy, but I could no

Re: [Matplotlib-users] Limit legend to visible data

2010-12-03 Thread Justin McCann
On Wed, Dec 1, 2010 at 11:58 AM, Justin McCann wrote: > Is there a straightforward way to limit the legend only to lines that > appear within the current display limits? I have a plot that has too > many separate data series to show on the legend at once, but once I > zoom in it would be good to r

Re: [Matplotlib-users] Matplotlib wont compile on ubuntu

2010-12-03 Thread Benjamin Root
On Fri, Dec 3, 2010 at 9:06 AM, Matt wrote: > Thanks so much, Ben, that did work. > > Matt > > On Fri, Dec 3, 2010 at 2:57 PM, Benjamin Root wrote: > > On Fri, Dec 3, 2010 at 8:49 AM, Matt wrote: > >> > >> LINUX > >> > >> Linux ubuntu 2.6.35-22-generic #33-Ubuntu SMP Sun Sep 19 20:34:50 UTC > >

Re: [Matplotlib-users] Matplotlib wont compile on ubuntu

2010-12-03 Thread Benjamin Root
On Fri, Dec 3, 2010 at 8:49 AM, Matt wrote: > LINUX > > Linux ubuntu 2.6.35-22-generic #33-Ubuntu SMP Sun Sep 19 20:34:50 UTC > 2010 i686 GNU/Linux > > > > GCC > > gcc (Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5 > Copyright (C) 2010 Free Software Foundation, Inc. > > > > > > MATPLOTLIB > > ubu...@ubunt

[Matplotlib-users] Matplotlib wont compile on ubuntu

2010-12-03 Thread Matt
LINUX Linux ubuntu 2.6.35-22-generic #33-Ubuntu SMP Sun Sep 19 20:34:50 UTC 2010 i686 GNU/Linux GCC gcc (Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5 Copyright (C) 2010 Free Software Foundation, Inc. MATPLOTLIB ubu...@ubuntu:~/Desktop/mp$ python -c `import matplotlib; print matplotlib.__version_

[Matplotlib-users] Plotting complex functions

2010-12-03 Thread Raoul
Hi all, I wanted to plot complex valued functions with real support: f : R -> C The plot should show the absulote value abs(f)^2 and the phase angle(f). The demand for such a plot type originates from quantum mechanics where I want to plot |phi> and/or in this way showing the phase of the w

[Matplotlib-users] Plotting complex functions

2010-12-03 Thread Raoul
Hi all, I wanted to plot complex valued functions with real support: f : R -> C The plot should show the absulote value abs(f)^2 and the phase angle(f). The demand for such a plot type originates from quantum mechanics where I want to plot |phi> and/or in this way showing the phase of the w