[Matplotlib-users] imshow background and/or colour to alpha

2009-07-22 Thread massimo sandal
Hi, I am trying to do a plot where small images are used as markers at definite coordinate positions (just to make myself clear: I am trying to see how the shape of a polymer changes with different parameters, so I want little "icons" of the polymer placed at the x,y of the parameters). Doing tha

Re: [Matplotlib-users] bug with installation from KUBUNTU aptitude

2009-01-27 Thread massimo sandal
Dmitrey ha scritto: > hi matplotlib developers and users, > let me inform you about the bug: > when I use > sudo aptitude install python-matplotlib > it downloads LOTS of auxilary packages (IIRC about 200 MB for download > and 400 MB for HDD after unpack, or kind of), still it doesn't work > afte

[Matplotlib-users] R: Newbie question/closing a figure-window

2009-01-13 Thread Massimo Sandal
I have the vague remembrance of the fact that IDLE does not play well with matplotlib. Can you try to run the program from the command line and see if it gives the same error? m. -- Massimo Sandal , Ph.D. University of Bologna Department of Biochemistry "G.Moruzzi" snail mail: Via

Re: [Matplotlib-users] Any news on wxMPL ?

2008-12-10 Thread massimo sandal
for your feedback again. I develop a data analysis application that uses wx and MPL and your little library made things much easier. Thanks for your wonderful work. Massimo -- Massimo Sandal , Ph.D. University of Bologna Department of Biochemistry "G.Moruzzi" snail mail: Via Irnerio 4

Re: [Matplotlib-users] Any news on wxMPL ?

2008-11-21 Thread massimo sandal
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christopher Barker ha scritto: > John Hunter wrote: >> <[EMAIL PROTECTED]> wrote: >>> Yes -- even if Ken does come back online, I'd like to see wxMPL hosted >>> by the MPL project anyway -- it would be easier to find, and more likely >>> to get tested

[Matplotlib-users] Any news on wxMPL ?

2008-11-21 Thread massimo sandal
to contact Ken McIvor? - Does anyone know about the wxmpl status? - If wxmpl has been abandoned by its author, is there anyone interested (beyond myself) in continuing its development? Thanks a lot, Massimo -- Massimo Sandal , Ph.D. University of Bologna Department of Biochemistry "G.Moruz

Re: [Matplotlib-users] Why is wrapper module called "pylab" ?

2008-10-26 Thread massimo sandal
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [EMAIL PROTECTED] ha scritto: > So is matplotlib the name of the low level plotting engine? > > And, pylab is the user-friendly wrapper? > > Would it be ok to call the whole system "Pylab" instead of Matplotlib then? Personally I'd say "no" exactly

[Matplotlib-users] wxmpl incompatibility with matplotlib 0.98.x

2008-08-07 Thread massimo sandal
ou patching it, if within my skills, but I'd need some direction on how the mpl API have been updated. m. -- Massimo Sandal , Ph.D. University of Bologna Department of Biochemistry "G.Moruzzi" snail mail: Via Irnerio 48, 40126 Bologna, Italy email: [EMAIL PROTECTED] web: http://ww

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

2007-12-05 Thread massimo sandal
rex ha scritto: massimo sandal <[EMAIL PROTECTED]> [2007-12-04 09:18]: On a related note, I *hate* that hitting "reply" uses the mail address of the parent poster, instead than that of the mailing list. The scipy and the gentoo mailing list (two other examples I know) behave mo

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

2007-12-04 Thread massimo sandal
examples I know) behave more properly. Is this a sourceforge quirk? m. -- Massimo Sandal University of Bologna Department of Biochemistry "G.Moruzzi" snail mail: Via Irnerio 48, 40126 Bologna, Italy email: [EMAIL PROTECTED] tel: +39-051-2094388 fax: +39-051-2094387 begin:vcard fn:Mas

Re: [Matplotlib-users] Update and replot data at a regular time rate

2007-10-10 Thread massimo sandal
step 5, or press "Stop" button Does anyone have an idea how to encode this purpose? I don't really understand what the problem is. If you don't you know how to wait a definite time between loading the file, have a look at the time module: http://docs.python.org/lib/module-tim

Re: [Matplotlib-users] problem with matplotlib in script

2007-09-12 Thread massimo sandal
ction definition for `mc' Your errors come from the shell interpreter. It seems that sh, and not python, is parsing the script. Add the following line at the start: #!/usr/bin/env python and try again. m. -- Massimo Sandal University of Bologna Department of Biochemistry "G.Moruzzi&qu

Re: [Matplotlib-users] Simple Matplotlib usage and Gnuplot

2007-08-27 Thread massimo sandal
the csv python module. I'm currently using a script that does almost exactly that for kernel density estimation. :) If someone holds my hand about mpl guidelines etc., I could try to contribute a general fplot to pylab / mpl. m. -- Massimo Sandal University of Bologna Department of Biochemis

Re: [Matplotlib-users] matplotlib-users@lists.sourceforge.net

2007-06-27 Thread massimo sandal
Emmanuel Favre-Nicolin ha scritto: Hi, I didn't find any tip for preparation of simple black and white 2D plot, especially for nice output in eps for publication. Any suggestions are welcome. I don't get it. What kind of tips do you need? How to change the plot colour? m.

Re: [Matplotlib-users] . Newbie. Interactive and saving plots to file

2007-04-11 Thread massimo sandal
[EMAIL PROTECTED] ha scritto: The question is, do people wanting to do this have to edit the matplotlibrc and restart Python each time, or is there some other way? Try to look for savefig() m. -- Massimo Sandal University of Bologna Department of Biochemistry "G.Moruzzi" snail

Re: [Matplotlib-users] passing mouse clicks back to a polling application

2007-04-06 Thread massimo sandal
for quick scripts and interaction à là Matlab. But MPL is *much more* than Pylab. m. -- Massimo Sandal University of Bologna Department of Biochemistry "G.Moruzzi" snail mail: Via Irnerio 48, 40126 Bologna, Italy email: [EMAIL PROTECTED] tel: +39-051-2094388 fax: +39-051-2094387 begin:

Re: [Matplotlib-users] [SciPy-user] question about standalone small software and teaching

2007-04-04 Thread massimo sandal
e default Python GUI toolkit in the wild. Learning a GUI toolkit cannot harm. If you can, buy the Robin Dunn book "wxPython in Action", it's wonderful to say the least. m. -- Massimo Sandal University of Bologna Department of Biochemistry "G.Moruzzi" snail mail: Via Ir

Re: [Matplotlib-users] how to plot

2007-04-02 Thread massimo sandal
ow to calculate linear regressions (this one is less straightforward than it should be, however now I don't remember the details - I can check my code if you have trouble in finding it by yourself). do you use pylab or matplotlib embedded in something? m. -- Massimo Sandal University

Re: [Matplotlib-users] matlab, idle, interactivity and teaching

2007-04-02 Thread massimo sandal
/matplotlib. A pythonic interacting environment IMHO should be a nice application in itself to write. It should have its own shell instead of relying on ipython (that is, it should not be a python shell, or a python shell *really* on steroids). I'd like to hear the pylab guys to know what they

Re: [Matplotlib-users] matlab, idle, interactivity and teaching

2007-03-30 Thread massimo sandal
question, I'd like to advice him to teach matplotlib+scipy to his students as a programming environment first, letting them learn Python, and *after* showing them that there is a pythonic interactive environment. m. -- Massimo Sandal University of Bologna Department of Biochemistry "

Re: [Matplotlib-users] Very odd problem of installation of matplotlib/numpy on XP

2007-03-30 Thread massimo sandal
massimo sandal ha scritto: Giorgio Luciano ha scritto: No any other with the same problem :( ? No. But I googled for you and I found this: http://mail.python.org/pipermail/python-list/2006-November/412228.html Maybe you can get some hint. Oh, ok, checked better your email and that email

Re: [Matplotlib-users] Very odd problem of installation of matplotlib/numpy on XP

2007-03-30 Thread massimo sandal
Giorgio Luciano ha scritto: No any other with the same problem :( ? No. But I googled for you and I found this: http://mail.python.org/pipermail/python-list/2006-November/412228.html Maybe you can get some hint. m. -- Massimo Sandal University of Bologna Department of Biochemistry

[Matplotlib-users] flipping x-y axes?

2006-07-25 Thread massimo sandal
Hi, What is the method used to flip axes in X and/or Y direction in the matplotlib API? that is, to plot something with values from positive to negative instead of the contrary? Maybe it's me being dense :), but I can't find how to do it. Thanks! m. -- Massimo Sandal University

Re: [Matplotlib-users] matplotlib/wxmpl/numpy conflict on windows xp: runtime error, C-API ?

2006-07-25 Thread massimo sandal
Charlie Moad ha scritto: I am guessing you installed numpy1.0b1. You need to use 0.9.8. Thanks a lot. I uninstalled 1.01b1 and installed 0.9.8 and everything workes perfectly. Thanks again, Massimo -- Massimo Sandal University of Bologna Department of Biochemistry "G.Moruzzi"

[Matplotlib-users] matplotlib/wxmpl/numpy conflict on windows xp: runtime error, C-API ?

2006-07-24 Thread massimo sandal
rsion 90709 of C-API but this version of numpy is 100 - I installed the latest sourceforge stable (not CVS/SVN) versions of matplotlib, numpy and wxmpl as of today. I'm quite puzzled, I guess I understand what the error is (different gcc versions?), but how can I get around it? Do

Re: [Matplotlib-users] OSError when exporting figure in EPS

2006-06-13 Thread massimo sandal
d mean everyone has full permissions on the partition, isn't it? At this point, it's not yet clear if this is a problem with backend_ps in mpl or your permissions configuration. 5-minute googling lets me wonder if it's a problem with os.utime() not always playing nice with fat32 pa

Re: [Matplotlib-users] OSError when exporting figure in EPS

2006-06-12 Thread massimo sandal
077a1a9a38' dst = 'prova.eps' 94 95 /usr/lib/python2.4/shutil.py in copystat(src='/tmp/caba709a5ee736ae3148af077a1a9a38', dst='prova.eps') 66 mode = stat.S_IMODE(st.st_mode) 67 if hasattr(os, 'utime'): ---> 68 os.

Re: [Matplotlib-users] OSError when exporting figure in EPS

2006-06-09 Thread massimo sandal
r(os, 'utime'): ---> 68 os.utime(dst, (st.st_atime, st.st_mtime)) 69 if hasattr(os, 'chmod'): 70 os.chmod(dst, mode) OSError: [Errno 1] Operation not permitted: 'hist001.eps' MPL is 0.87.3 compiled from source on gnu/linux Kubuntu 6.06 Than

[Matplotlib-users] "X Error: BadDevice" when initializing matplotlib

2006-06-09 Thread massimo sandal
proceeds normally, but I guess it is not completely normal it happens (an old matplotlib version on debian sarge gave no errors). Thanks, m. -- Massimo Sandal University of Bologna Department of Biochemistry "G.Moruzzi" snail mail: Via Irnerio 48, 40126 Bologna, Italy email: [EMAIL

Re: [Matplotlib-users] [SciPy-user] linear_least_squares: OverFlow error or flapack.error

2006-06-08 Thread massimo sandal
shame. m. -- Massimo Sandal University of Bologna Department of Biochemistry "G.Moruzzi" snail mail: Via Irnerio 48, 40126 Bologna, Italy email: [EMAIL PROTECTED] tel: +39-051-2094388 fax: +39-051-2094387 begin:vcard fn:Massimo Sandal n:Sandal;Massimo org:University of Bologna;Department

Re: [Matplotlib-users] [SciPy-user] linear_least_squares: OverFlow error

2006-06-08 Thread massimo sandal
line >> 457, in lstsq >>nlvl = max( 0, int( math.log( float(min( m,n ))/2. ) ) + 1 ) >> OverflowError: math range error any hint? m. -- Massimo Sandal University of Bologna Department of Biochemistry "G.Moruzzi" snail mail: Via Irnerio 48, 40126 Bologna, Italy email

[Matplotlib-users] OSError when exporting figure in EPS

2006-06-08 Thread massimo sandal
til.py", line 68, in copystat os.utime(dst, (st.st_atime, st.st_mtime)) OSError: [Errno 1] Operation not permitted: 'figura001.eps' Thanks as usual! Massimo -- Massimo Sandal University of Bologna Department of Biochemistry "G.Moruzzi" snail mail: Via Irnerio 48, 4012

Re: [Matplotlib-users] pylab crashes simple wxPython script

2006-06-08 Thread massimo sandal
pylab this way is BAD. You should better choose between: - (1)Launch pylab in a separate thread - (2) (What I do) Using WxMPL and embedding a matplotlib plot in a wxPanel or wxFrame. You have to use the OO interface to matplotlib. m. -- Massimo Sandal University of Bologna Department of

[Matplotlib-users] linear_least_squares: OverFlow error or flapack.error

2006-06-06 Thread massimo sandal
to correctly pass the dtype argument. Since I'm quite a scipy/numeric newbie I guess there could be some obvious blunder and/or more correct way of obtaining my fit, and I'd be thankful to anyone pointing me at the solution... Thanks, Massimo -- Massimo Sandal University of Bologn