Re: [Matplotlib-users] 2 simple ??: program exit w/graph, update graph real-time

2009-04-25 Thread Esmail
Robert Cimrman wrote: > >> >> Sounds interesting, but I get a "page not found 404" type error when >> I follow this link. > > Strange, it does work for me. Alternatively, just search > "[Matplotlib-users] plotting in a separate process" in google... Thanks Robert, I'll give that a try. Esmail

Re: [Matplotlib-users] mail-archive URLs on gmane

2009-04-25 Thread Esmail
Jouni K. Seppänen wrote: > > That's because you are reading the list via Gmane, which is set to > mangle email addresses to avoid spammers (the setting is specific to > each mailing list, so you might not see it on other lists), and > mail-archive URLs happen to contain the email address of the li

Re: [Matplotlib-users] 2 simple ??: program exit w/graph, update graph real-time

2009-04-25 Thread Esmail
Ryan May wrote: > > I was curious, so I cooked up a quick demo using two scripts. Put them > in the same directory and run datasource.py. It's not perfect, and I > think the use of raw_input() is a little odd, but it works. Very cool Ryan, thanks for doing that, I plan on studying your code

Re: [Matplotlib-users] Segmentation fault using imshow on large image

2009-04-25 Thread Adam Ginsburg
Yep, I'm running on a 64 bit machine. I've been dealing with larger than 4GB data files in IDL, but I'd rather use python/numpy/matplotlib if possible. Here's the gdb session. The error didn't happen in imshow, only when I specified show(); I guess that means I must have had ioff() set although

Re: [Matplotlib-users] Segmentation fault using imshow on large image

2009-04-25 Thread John Hunter
On Sat, Apr 25, 2009 at 9:53 AM, Adam Ginsburg wrote: > Yep, I'm running on a 64 bit machine. I've been dealing with larger > than 4GB data files in IDL, but I'd rather use python/numpy/matplotlib > if possible. > > Here's the gdb session. The error didn't happen in imshow, only when > I specifi

[Matplotlib-users] label arbitrary strings on xaxis as in date mode

2009-04-25 Thread wfpunch
Is it possible to create an axis labe, much like done for dates, using arbitrary strings. For example, I'd like to plot word frequency where the x-axis labels are the words and the y-axis the frequency. I've looks at the locator and formatString stuff but I can't quite seem to get it. Any help ap

Re: [Matplotlib-users] Segmentation fault using imshow on large image

2009-04-25 Thread Troels Kofoed Jacobsen
Hi It could be that you just have to much data for the stack. You can see/set your stack size with ulimit -s (on linux/solaris at least). Try to set it to unlimited: ulimit -s unlimited This has solved similar problems for me in the past. Best Regards Troels Kofoed Jacobsen On Saturday 25 Apr

Re: [Matplotlib-users] Segmentation fault using imshow on large image

2009-04-25 Thread Adam Ginsburg
A 1x1 array reproduces the error: milkyway /data/glimpseii $ gdb /usr/local/python/bin/python GNU gdb Red Hat Linux (6.3.0.0-1.159.el4rh) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or d

Re: [Matplotlib-users] label arbitrary strings on xaxis as in date mode

2009-04-25 Thread Jouni K . Seppänen
wfpunch writes: > Is it possible to create an axis labe, much like done for dates, using > arbitrary strings. For example, I'd like to plot word frequency where the > x-axis labels are the words and the y-axis the frequency. Does xticks do what you want? -- Jouni K. Seppänen http://www.iki.fi/

Re: [Matplotlib-users] label arbitrary strings on xaxis as in date mode

2009-04-25 Thread wfpunch
I'm not clear on how to do the rotation of the font by the 45 degree angle (as in the date mode) using just xticks. If there is some part to xticks that would allow it I'd be pleased to hear it. Thanks. Jouni K. Seppänen wrote: > > wfpunch writes: > >> Is it possible to create an axis labe,

Re: [Matplotlib-users] label arbitrary strings on xaxis as in date mode

2009-04-25 Thread Jouni K . Seppänen
wfpunch writes: > I'm not clear on how to do the rotation of the font by the 45 degree angle > (as in the date mode) using just xticks. If there is some part to xticks > that would allow it I'd be pleased to hear it. Thanks. Add the rotation keyword argument: xticks(arange(5), ('Tom', 'Dick',