[Matplotlib-users] plots do not scale to size

2009-06-09 Thread Paul Anton Letnes
Dear all. When I run the script below, the xlabel and ylabel do not show up. If I increase the figure size, it all works fine. If I open the file in Adobe Illustrator, the x and ylabels are both there, but outside the canvas (or bounding box or whatever it is called). I believe this must

[Matplotlib-users] plots do not scale to size

2009-06-09 Thread Paul Anton Letnes
Dear all. When I run the script below, the xlabel and ylabel do not show up. If I increase the figure size, it all works fine. If I open the file in Adobe Illustrator, the x and ylabels are both there, but outside the canvas (or bounding box or whatever it is called). I believe this must

[Matplotlib-users] Custom coordinates in navigation window

2009-06-09 Thread Nan Dun
Hello, Currently, in navigation window, the coordinates of cursor show like x = %.1f, y=%.1f Is it possible to custom these labels such that they show like my_x=%.3f, my_y=%.6f Thank you. Nan -- Crystal Reports - New

Re: [Matplotlib-users] imshow axis labels

2009-06-09 Thread Michael Droettboom
You may just want to start with the custom_ticker1.py example here: http://matplotlib.sourceforge.net/examples/pylab_examples/custom_ticker1.html The meat of it is just to provide a function that converts the incoming values (in your case pixel positions) into whatever you want to be

Re: [Matplotlib-users] Custom coordinates in navigation window

2009-06-09 Thread John Hunter
On Tue, Jun 9, 2009 at 4:44 AM, Nan Dundun...@yl.is.s.u-tokyo.ac.jp wrote: Hello, Currently, in navigation window, the coordinates of cursor show like x = %.1f, y=%.1f Is it possible to custom these labels such that they show like my_x=%.3f, my_y=%.6f def my_x(x): return '%.3f'%x def

[Matplotlib-users] matplotlibrc customizing

2009-06-09 Thread Ulrich vor dem Esche
Greetings! I am new to matplotlib and python, and encountered a general problem: If i try to customize matplotlibrc, nothing changes. I changed the right thing: When i try import matplotlib matplotlib.matplotlib_fname() I get 'C:\\Python25\lib\\site-packages\\matplotlib\\mpl-data\\matplotlibrc'

Re: [Matplotlib-users] matplotlibrc customizing

2009-06-09 Thread Sebastian Busch
Ulrich vor dem Esche wrote: ... #xtick.labelsize : 14 (from '12') #xtick.direction : out (from 'in') nothing changes ... I must have missed something very basic.. I guess that would be the # which declares everything behind as a comment. Does it work when you remove the #?

[Matplotlib-users] exporting PYTHONPATH causes matplotlib not to load

2009-06-09 Thread Hani Nakhoul
Dear all, I'm running matplotlib 0.98.5.2 on a machine with Ubuntu Intrepid 8.10. It's worked well for me so far, but I encounter problems running matplotlib when trying to update the PYTHONPATH in the .bashrc file. Adding just the line export PYTHONPATH=$PYTHONPATH, for example, gives the

Re: [Matplotlib-users] plots do not scale to size

2009-06-09 Thread John Hunter
On Tue, Jun 9, 2009 at 10:18 AM, Jouni K. Seppänenj...@iki.fi wrote: Chaitanya Krishna icym...@gmail.com writes: On Tue, Jun 9, 2009 at 12:05 PM, Paul Anton Letnes paul.anton.let...@gmail.com wrote: When I run the script below, the xlabel and ylabel do not show up. If I increase the figure

Re: [Matplotlib-users] exporting PYTHONPATH causes matplotlib not to load

2009-06-09 Thread John Hunter
On Tue, Jun 9, 2009 at 10:22 AM, Hani Nakhoulnakh...@gmail.com wrote: Dear all, I'm running matplotlib 0.98.5.2 on a machine with Ubuntu Intrepid 8.10. It's worked well for me so far, but I encounter problems running matplotlib when trying to update the PYTHONPATH in the .bashrc file. Adding

[Matplotlib-users] autocrop function

2009-06-09 Thread Nils Wagner
Hi all, I am looking for an autocrop function. It should remove borders from an image. Is it available in matplotlib ? Any pointer would be appreciated. Thanks in advance Nils

Re: [Matplotlib-users] Beginning Python Visualization??

2009-06-09 Thread Esmail
Sebastian Busch wrote: Hey Esmail, there was the possibility for 3D plots in matplotlib: http://www.scipy.org/Cookbook/Matplotlib/mplot3D however, the mayavi mlab interface was designed explicitly to be as simple as pylab.

Re: [Matplotlib-users] Beginning Python Visualization??

2009-06-09 Thread Esmail
Hi Gökhan, Gökhan SEVER wrote: I'll give mayavi/mlab a try, I think there was a note to the effect that matplotlib quit supporting 3D plots and recommended mayavi. There is still work going on to improve matplotlib 3d plotting functionality. You can see matplotlib gallery

Re: [Matplotlib-users] Beginning Python Visualization??

2009-06-09 Thread Gökhan SEVER
On Tue, Jun 9, 2009 at 1:00 PM, Esmail ebo...@hotmail.com wrote: Hi Gökhan, Gökhan SEVER wrote: I'll give mayavi/mlab a try, I think there was a note to the effect that matplotlib quit supporting 3D plots and recommended mayavi. There is still work going on to

Re: [Matplotlib-users] autocrop function

2009-06-09 Thread Anton Vasilescu
I wasn't able to find one in Matplotlib but you can use PIL library for all the imaging work. Really easy to use. Here is the webpage for it: http://www.pythonware.com/products/pil/index.htm Anton From: Nils Wagner nwag...@iam.uni-stuttgart.de To:

Re: [Matplotlib-users] autocrop function

2009-06-09 Thread Nils Wagner
On Tue, 9 Jun 2009 11:31:19 -0700 (PDT) Anton Vasilescu vasilescu_an...@yahoo.com wrote: I wasn't able to find one in Matplotlib but you can use PIL library for all the imaging work. Really easy to use. Here is the webpage for it: http://www.pythonware.com/products/pil/index.htm Anton

Re: [Matplotlib-users] exporting PYTHONPATH causes matplotlib not to load

2009-06-09 Thread Hani Nakhoul
Dear all, Here is the listing: In [1]: import matplotlib In [2]: print matplotlib.__file__ matplotlib/__init__.pyc In [3]: ls -a ./ .gimp-2.6/ Public/ ../ .gksu.lock .pulse/ .adobe/.gnome2/ .pulse-cookie ATLAS/

Re: [Matplotlib-users] exporting PYTHONPATH causes matplotlib not to load

2009-06-09 Thread John Hunter
On Tue, Jun 9, 2009 at 2:13 PM, Hani Nakhoulnakh...@gmail.com wrote: Dear all, Here is the listing: In [1]: import matplotlib In [2]: print matplotlib.__file__ matplotlib/__init__.pyc In [3]: ls -a ./       .gimp-2.6/      Public/ ../       .gksu.lock      .pulse/

Re: [Matplotlib-users] exporting PYTHONPATH causes matplotlib not to load

2009-06-09 Thread Hani Nakhoul
I'm sorry--here's the right listing: $ ls matplotlib agg24 examples KNOWN_BUGS PKG-INFOsetup.py build __init__.py libREADME.txt src build.out __init__.pyc licensesetup.cfg.template TODO CHANGELOG INSTALL

Re: [Matplotlib-users] Upgrading of 3D plotting in matplotlib- recent comments on web site.

2009-06-09 Thread Lou Pecora
--- On Tue, 6/9/09, Gökhan SEVER gokhanse...@gmail.com wrote: Modified that section as to eliminate confusions:  NOTE: Experimental work has been going on to integrate 3D plotting functionality into matplotlib. Please see the related mplot3d documentation or take a look at matplotlib gallery 

Re: [Matplotlib-users] exporting PYTHONPATH causes matplotlib not to load

2009-06-09 Thread John Hunter
On Tue, Jun 9, 2009 at 2:42 PM, Hani Nakhoulnakh...@gmail.com wrote: I'm sorry--here's the right listing: $ ls matplotlib agg24  examples  KNOWN_BUGS PKG-INFO    setup.py build  __init__.py   lib    README.txt  src build.out 

Re: [Matplotlib-users] Upgrading of 3D plotting in matplotlib- recent comments on web site.

2009-06-09 Thread John Hunter
On Tue, Jun 9, 2009 at 3:05 PM, Lou Pecoralou_boog2...@yahoo.com wrote: - It is good news that matplotlib 3D functions are being upgraded.  Thank you. But it is unclear from the message whether one

Re: [Matplotlib-users] Upgrading of 3D plotting in matplotlib- recent comments on web site.

2009-06-09 Thread Gökhan SEVER
On Tue, Jun 9, 2009 at 3:05 PM, Lou Pecora lou_boog2...@yahoo.com wrote: --- On *Tue, 6/9/09, Gökhan SEVER gokhanse...@gmail.com* wrote: Modified that section as to eliminate confusions: * NOTE:* *Experimental work has been going on to integrate 3D plotting functionality into matplotlib.

[Matplotlib-users] MPL with PyQt: different behavior on Windows vs. Linux

2009-06-09 Thread Steve Nicholes
Hi, I am writing some code for automated testing via GPIB using MPL and PyQt.  To simulate automated data collection while debugging the program, I have added a for loop (see below) after reading in a data file that plots each point one by one.  When I run the program in Linux, I see each

Re: [Matplotlib-users] MPL with PyQt: different behavior on Windows vs. Linux

2009-06-09 Thread John Hunter
On Tue, Jun 9, 2009 at 5:17 PM, Steve Nicholesemailaddress_...@yahoo.com wrote: I am writing some code for automated testing via GPIB using MPL and PyQt. To simulate automated data collection while debugging the program, I have added a for loop (see below) after reading in a data file that

[Matplotlib-users] axis break: a bit of a random query

2009-06-09 Thread Nicholas Stephens
Hi all, I am still very green when it comes to the use of matplotlib but I am finding the versatility and robustness of the package extremely useful at present. One application I am constantly using matplotlib for concerns a break in the axis. Although I have a script or two based on an

Re: [Matplotlib-users] autocrop function

2009-06-09 Thread Anton Vasilescu
You're right, I haven't read your question properly... I am not sure that autocrop exists in pil. Maybe somebody with more experience can shed some light. Sent from my iPhone On Jun 9, 2009, at 12:10 PM, Nils Wagner nwag...@iam.uni-stuttgart.de wrote: On Tue, 9 Jun 2009 11:31:19 -0700

Re: [Matplotlib-users] exporting PYTHONPATH causes matplotlib not to load

2009-06-09 Thread Jouni K . Seppänen
John Hunter jdh2...@gmail.com writes: es, this is your problem. You have the matplotlib source directory in your HOME directory and when you run from your home directory, it is being picked up instead of the installation directory. I usually name my src tree mpl to avoid this problem I

Re: [Matplotlib-users] MPL with PyQt: different behavior on Windows vs. Linux

2009-06-09 Thread Steve Nicholes
Thanks John.  I hope you aren't receiving this reply twice (my email kicked me out when I hit send).  I actually am importing pylab so it isn't an entirely qt app.  I didn't post all of the code originally b/c it is long (and it would reveal how poor of a programmer I am :) ), but here are the