Re: [Matplotlib-users] Newbie trying to get matplotlib up and running on Mac mini.....

2007-02-06 Thread Robert Kern
it supports? I only see _ns_backend_agg.so and _tkagg.so so I imagine it only support TkAgg for the GUI (and possibly whatever backends that don't require extension modules). -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made

Re: [Matplotlib-users] backends issue

2007-02-21 Thread Robert Kern
k.py", > line 6, in ? > import gobject > ImportError: No module named gobject > > What can I do? Install PyGTK. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as thou

[Matplotlib-users] tight axis in OO interface

2007-03-22 Thread Robert Cimrman
Hello, I am using the OO interface to plot some data in logarithmic y-scale. The data displayed are almost constant but not entirely, see the attached image. In order to see the details, I would like to do something like 'axis( 'image' )' for the yaxis. I have tried to play with axes.set_ylim(), a

[Matplotlib-users] interactive plots again

2007-03-22 Thread Robert Cimrman
Maybe I have reinvented the wheel, but I find the attached code snippet very useful. I have modified a bit the recipe at http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/65222 to be used in the following situation: You plot (interactively) something in a main program, which than works heavi

Re: [Matplotlib-users] Fwd: interactive plots again

2007-03-26 Thread Robert Cimrman
Bill Baxter wrote: > gah! bitten by reply to sender once again. Yes, this is a bit annoying. > -- Forwarded message -- > From: Bill Baxter <[EMAIL PROTECTED]> > Date: Mar 24, 2007 12:09 PM > Subject: Re: [Matplotlib-users] interactive plots again > To

Re: [Matplotlib-users] Possible to use SciPy instead of NumPy?

2007-03-27 Thread Robert Kern
;numerix' will make your code difficult to understand. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had

Re: [Matplotlib-users] A site using matplotlib

2007-03-29 Thread Robert Leftwich
e/performance/CBA for a sample). Kudos to John and all others involved in producing a fantastic open source product! Robert Leftwich - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay

Re: [Matplotlib-users] matplotlib and py2exe

2007-03-31 Thread Robert Kern
uot;, line 1, in ? > File "matplotlib\pylab.pyc", line 199, in ? > File "matplotlib\cm.pyc", line 5, in ? > File "matplotlib\colors.pyc", line 33, in ? > File "matplotlib\numerix\__init__.pyc", line 147, in ? > ImportError: No module named random

Re: [Matplotlib-users] problems building/installing

2007-04-04 Thread Robert Kern
Tim Hirzel wrote: > Its a little tough right now that os x doesn't have one python > install to rule them all. Yes it does. http://www.python.org/download/ -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terribl

Re: [Matplotlib-users] freetypelib problem scipy superpack matplotlib

2007-05-04 Thread Robert Kern
> one Apple provides doesn't work with MPL. No, it was built against a dynamic freetype library which was not included with the package. If it had been statically linked, there wouldn't be a problem. -- Robert Kern "I have come to believe that the whole world is an enigma, a ha

Re: [Matplotlib-users] freetypelib problem scipy superpack matplotlib

2007-05-04 Thread Robert Kern
Samuel M. Smith wrote: > So the conclusion is pythonmac matplotlib uses a statically linked > freetype so it doesn't look into /usr/local/lib > and Fonnesbeck's scipy superpack matplotlib is using a dynamically > linked freetype which is looking into /usr/local/lib Yes

Re: [Matplotlib-users] freetypelib problem scipy superpack matplotlib

2007-05-04 Thread Robert Kern
Robert Kern wrote: > Christopher Barker wrote: >> Samuel M. Smith wrote: >>> I did not have this problem with the matplotlib on >>> http://pythonmac.org/packages/py25-fat/dmg/matplotlib-0.90.0-py2.5-macosx10.4-2007-02-20.dmg >> That one was probably built with a s

Re: [Matplotlib-users] use of enthought Python for matplotlib/numpy

2007-05-11 Thread Robert Kern
add extra donuts ;) While we at Enthought are not updating the all-in-one installer anymore, we are distributing up-to-date binaries as eggs. http://code.enthought.com/enstaller/ -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made t

Re: [Matplotlib-users] All-in-one distribution of python/numpy/scipy/mpl for windows

2007-05-14 Thread Robert Kern
or the Mac, though. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco

Re: [Matplotlib-users] All-in-one distribution of python/numpy/scipy/mpl for windows

2007-05-14 Thread Robert Kern
Christopher Barker wrote: > Robert Kern wrote: >> Mark Bakker wrote: >>> I think it would be very useful to have one installer that gets a >>> reasonable distrubtion installed (like the old Enthought installer). >>> Isn't something like that in the works

[Matplotlib-users] setting font size for figure elements

2007-08-27 Thread Robert Cimrman
Hi mpl'ers, I have noticed that I keep setting the font size of the figure elements (axes labels, tick labels, title) so often that it would deserve a function, or better an Axes method to do the same. I am aware of the matplotlibrc settings, but I need something to play with after a figure is dra

[Matplotlib-users] [Newbie question] Is 0:3:100 possible?

2007-09-04 Thread Robert Dailey
Hi, I come from using Matlab and I was just curious if it was possible to create an arange from a quick for loop of numbers? For example: 0:3:100 would generate: 0, 3, 6, 9, 12, , 96, 99 And I would want this range to be in an arange() object. Is there a similar way of doing this? Thanks. --

Re: [Matplotlib-users] [Newbie question] Is 0:3:100 possible?

2007-09-04 Thread Robert Dailey
Ah; Thanks guys. I thought 'arange' was a class, however it is a function. I get it now. Sorry for the confusion! On 9/4/07, Steve Lianoglou <[EMAIL PROTECTED]> wrote: > > On Sep 4, 2007, at 3:09 PM, Robert Dailey wrote: > > > Hi, > > > > I come from us

[Matplotlib-users] Vector magnitude?

2007-09-05 Thread Robert Dailey
Hi, I have two questions: 1) Is there any way to represent vectors? Currently I'm using 'array' for vectors. 2) Is there a way to calculate the magnitude (length) of a vector? Thanks. - This SF.net email is sponsored by: Sp

Re: [Matplotlib-users] plot cdf

2007-09-26 Thread Robert Kern
oat(n), 2), 1.0]) pylab.plot(x2, y2) -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth.&quo

Re: [Matplotlib-users] Automatic Marker Generation

2007-10-04 Thread Robert Kern
est one. """ return itertools.cycle([ 'o','^','v','<','>', 's','+','x','D','d', '1','2','3','4','h

[Matplotlib-users] [OT] Confusion with mailing lists

2007-12-04 Thread Robert Dailey
Hey guys, I realize this isn't the place to post this but I can't figure out a better place. I just had a really quick question. Sometimes I notice that mail I receive from this mailing list was never directly (through To: or CC:) sent to the mailing list. For example, say there's two people comm

Re: [Matplotlib-users] [OT] Confusion with mailing lists

2007-12-05 Thread Robert Dailey
I feel we're getting a tad bit off topic from my original inquiry. Does anyone have an answer for me? Thanks. On Dec 5, 2007 8:42 AM, massimo sandal <[EMAIL PROTECTED]> wrote: > rex ha scritto: > > massimo sandal <[EMAIL PROTECTED]> [2007-12-04 09:18]: > >> On a related note, I *hate* that hittin

Re: [Matplotlib-users] Basemap - ImportError: libgeos_c.so.1

2007-12-15 Thread Robert Kern
Jeff Whitaker wrote: > Dave: Perhaps you need to add /usr/local to LD_LIBRARY_PATH? It would be /usr/local/lib, not /usr/local -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it a

[Matplotlib-users] atomic line.set_xdata and set_ydata

2008-01-29 Thread Robert Cimrman
Is there a way of simultaneously setting both xdata and ydata of a line? I need to animate a line with varying number of points in each frame. regards, r. - This SF.net email is sponsored by: Microsoft Defy all challenges.

Re: [Matplotlib-users] atomic line.set_xdata and set_ydata

2008-01-29 Thread Robert Cimrman
John Hunter wrote: > On Jan 29, 2008 8:33 AM, Robert Cimrman <[EMAIL PROTECTED]> wrote: >> Is there a way of simultaneously setting both xdata and ydata of a line? >> I need to animate a line with varying number of points in each frame. > > line.set_data(xdata, ydata) &

Re: [Matplotlib-users] Bogus colour gradients in imshow()

2008-03-17 Thread Robert Kern
ixel in the colormap. This would give more reasonable results even with misapplied colormaps. However, it will probably be less efficient to implement. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own m

Re: [Matplotlib-users] scipy, matplotlib import errors

2008-04-01 Thread Robert Kern
packages/pkg_resources.py", line 1712, > in _handle_ns > module = sys.modules[packageName] = new.module(packageName) > AttributeError: 'module' object has no attribute 'module' You have a new.py module somewhere which is interfering with the s

Re: [Matplotlib-users] Prism colormap

2008-04-07 Thread Robert Kern
Rich Fought wrote: > The prism colormap repeats the same pattern over and over instead of > spreading itself over the plotted data range in a pcolor plot. Is this > expected behavior? Yup. prism and flag are designed to repeat. -- Robert Kern "I have come to believe that the

Re: [Matplotlib-users] Kriging with Matplotlib

2008-05-16 Thread Robert Kern
sian processes (covariance functions, etc.). http://code.google.com/p/random-realizations/ http://www.enthought.com/~rkern/cgi-bin/hgwebdir.cgi/gp/ Anand has been doing more work on RandomRealizations than I have on gp, so try it first. -- Robert Kern "I have come to believe that

[Matplotlib-users] Plotting data in real time

2008-05-23 Thread Robert Garrett
Hi, I'd like to use Python to plot data in real-time. I've created a GUI using wxPython and have embedded a Matplotlib graph into a pane. My problem is that I don't know the best way to update the graph. What's the recommended method for this? The data comes from a peripheral device connected t

Re: [Matplotlib-users] can't get started

2006-06-02 Thread Robert Kern
paste the exact error message here. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco ___

Re: [Matplotlib-users] is pcolor_classic needed?

2006-06-06 Thread Robert Hetland
+1 for removing pcolor_classic. On Jun 6, 2006, at 1:49 PM, Eric Firing wrote: > In the spirit of cleaning up and simplifying mpl, I would like to know > whether anyone is still using pcolor_classic, and if so, why? Does it > have any advantages over pcolor or pcolormesh? > > Thanks. > > Eric >

Re: [Matplotlib-users] bug in numerix?

2006-09-26 Thread Robert Kern
ide effect. If you don't want this, then you can configure ipython to import everything you want from numpy *after* pylab. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as t

[Matplotlib-users] Unable to compile on FC6

2006-10-26 Thread Robert Elsner
; (which is the array package I would like to use). Again python setup.py build fails. The output is located at the end of this mail. Unfortunately the error message is not too descriptive so I have no clue what to look for. Any help would be greatly appreciated. Robert OUTPUT [EMAIL PROTEC

Re: [Matplotlib-users] Unable to compile on FC6

2006-10-27 Thread Robert Elsner
On Fri, 2006-10-27 at 11:58 +0200, Trond Danielsen wrote: > 2006/10/27, Robert Elsner <[EMAIL PROTECTED]>: > > Hello Everybody, > > > > I use the usual scipy + numpy + matplotlib combination for my daily > > work. Unfortunately after switching to Fedora Core 6 (fro

Re: [Matplotlib-users] tex problem

2006-10-31 Thread Robert Kern
of the object is treated. label = r'$\textrm{test}_2$' xlabel(label) After the source code containing the string literal is parsed, the string is simply a string. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made t

Re: [Matplotlib-users] How do I include the stop value in the array by using arrayrange?

2006-11-17 Thread Robert Kern
name. 2. However, arange() with floating point numbers is unreliable. Because of floating point precision issues, it is often difficult to tell whether or not the endpoint will be included. Use linspace() instead. -- Robert Kern "I have come to believe that the whole world is an enigma, a h

Re: [Matplotlib-users] spy ignores negative values?

2006-11-21 Thread Robert Cimrman
John Hunter wrote: >> "Eric" == Eric Firing <[EMAIL PROTECTED]> writes: > > Eric> Yes, it should be !=0. The purpose is to show how sparse a > Eric> matrix is--how much is filled with zeros--by displaying the > Eric> non-zero entries. > > OK I fixed it. Thanks. Thanks! BTW wou

Re: [Matplotlib-users] spy ignores negative values?

2006-11-22 Thread Robert Cimrman
John Hunter wrote: >>>>>> "Robert" == Robert Cimrman <[EMAIL PROTECTED]> writes: > > > Robert> BTW would you consider changing the definition of spy(2) > Robert> as shown below, so that one could specify what 'to be a >

Re: [Matplotlib-users] spy ignores negative values?

2006-11-23 Thread Robert Cimrman
Eric Firing wrote: > Robert Cimrman wrote: >> John Hunter wrote: >>>>>>>> "Robert" == Robert Cimrman <[EMAIL PROTECTED]> writes: >>> Robert> BTW would you consider changing the definition of spy(2) >>> Robert> as

Re: [Matplotlib-users] spy ignores negative values?

2006-11-23 Thread Robert Cimrman
Eric Firing wrote: > One more miscellaneous thought: perhaps spy and spy2 should be > consolidated into a single function with a kwarg to select the marker > version or the image version? Their purpose is identical (isn't it?), > and it would reduce namespace clutter. one more thing here: usua

Re: [Matplotlib-users] spy ignores negative values?

2006-12-07 Thread Robert Cimrman
Eric Firing wrote: > Robert and any other spy users: > > I have committed to svn a new axes method, spy3, that combines a > modification of the functionality of both spy and spy2. I hope you can > check it out. If it looks OK, then I would like to simply replace spy >

Re: [Matplotlib-users] spy ignores negative values?

2006-12-11 Thread Robert Cimrman
Eric Firing wrote: > Robert Cimrman wrote: >> Eric Firing wrote: >>> Robert and any other spy users: >>> >>> I have committed to svn a new axes method, spy3, that combines a >>> modification of the functionality of both spy and spy2. I hope you

Re: [Matplotlib-users] spy ignores negative values?

2006-12-12 Thread Robert Cimrman
Eric Firing wrote: > Robert Cimrman wrote: > [...] >> What could be done, though, is to raise an exception explaining that >> sparse matrices and the image mode don't like each other; as it is, >> the function spy3 just dies on asarray (should be st. like asarra

<    1   2