[Matplotlib-users] Matplotlib on OS X 10.4 (was: can't import pylab)

2009-04-21 Thread Jouni K . Seppänen
John Seales praxbaf...@hotmail.com writes: I'm using Mac os 10.4.11. Python is included in mac os. The error messages refer to Python 2.6: ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/ft2font.so, 2): Library not loaded:

Re: [Matplotlib-users] Getting arrax indices using the zoom tool

2009-04-21 Thread Matthias Michler
Hi Gökhan, Hi list, Hi experts on masked arrays, I run the attached script (copied from your last two emails) and I can use x_new, y_new after closing the figures (where x_new and y_new are the values selected in the last selection). I don't know, what is going wrong with your script on your

Re: [Matplotlib-users] Polar plotting clockwise and rotated

2009-04-21 Thread Matthias Michler
Hi Enrico, I'm afraid that this functionality is missing in matplotlib, but I'm not an expert so there is still hope that this can be easily achieved. A work around, that comes to my mind is resetting the label values using an idea from another mail on this list ( thetagrids( range(0,360,45),

[Matplotlib-users] Tight axis after deletion of image

2009-04-21 Thread Armin Moser
Hi, i have an application showing some pseudo color plots as images using imshow. After deleting an image and calling ax.axis('tight') the limits of the axes are not updated correctly. Is this a bug, incorrect use or intended? The behavior is demonstrated in the appended script. Best regards,

[Matplotlib-users] savefig bug

2009-04-21 Thread Thomas Robitaille
Hi, I've come across a bug with the savefig method when using the dpi= argument and saving an EPS file. If you try the following code, you will see that the frame is incomplete. Is there a way to solve this from a user point of view? --- import matplotlib matplotlib.use('Agg') from

[Matplotlib-users] GSoC: TeX rendering engine

2009-04-21 Thread Kasper Peeters
Hi all, I noticed that a Google Summer of Code project has been allocated for extraction of the TeX rendering engine of matplotlib. Excellent! Are there already any more concrete ideas on how this will be realised technically, in particular how this engine will be callable from Python programs?

Re: [Matplotlib-users] Getting arrax indices using the zoom tool

2009-04-21 Thread Gökhan SEVER
Hi Matthias, Thanks for your reply again. Unfortunately I can't read x_new or y_new after I kill the figures (nor when they are active). I don't know what exactly wrong in my configuration or IPython. I use IPython 0.10.bzr.r1163 on Fedora 10. Hopefully, I will solve the masked array riddle by

[Matplotlib-users] Different plot settings for different circumstances ...

2009-04-21 Thread Chaitanya Krishna
Hi guys, I generally use matplotlib it extract information from raw data and use this for plotting. I wonder what most of you guys out there use it for? But, anyways the point of this mail is to ask if there is a clever way of making different plots for different circumstances. For example,

Re: [Matplotlib-users] Different plot settings for different circumstances ...

2009-04-21 Thread Alan G Isaac
On 4/21/2009 1:49 PM Chaitanya Krishna apparently wrote: So, is there a way to decouple the plot settings (like figure size, axes properties, tick properties, etc) from the data being plotted. If so, can someone give some examples. http://matplotlib.sourceforge.net/users/customizing.html

Re: [Matplotlib-users] GSoC: TeX rendering engine

2009-04-21 Thread projetmbc
That's could be cool but this needs to have access to the size of the final picture of the formula and the location of the baseline of the text. With this, it's easy to put formulas in a web page. Christophe. Are there already any more concrete ideas on how this will be realised technically,

Re: [Matplotlib-users] Different plot settings for different circumstances ...

2009-04-21 Thread Tony S Yu
On Apr 21, 2009, at 1:49 PM, Chaitanya Krishna wrote: But, anyways the point of this mail is to ask if there is a clever way of making different plots for different circumstances. For example, trying to make a plot for publication in a journal demands it being made in one way while using it

Re: [Matplotlib-users] GSoC: TeX rendering engine

2009-04-21 Thread Alan G Isaac
Other projects than can profit if this is thought through: - docutils (e.g., the rst2mathml writer) - plasTeX (which additionally should have many good ideas to share) Alan Isaac -- Stay on top of everything new and

Re: [Matplotlib-users] savefig bug

2009-04-21 Thread Thomas Robitaille
Thanks for your quick reply! I'll be patient and wait for the fix to be made in the SVN repository, rather than trying to patch it myself. Do I need to add any information to the bug report? Best, Thomas On Apr 21, 2009, at 1:06 PM, Jae-Joon Lee wrote: I can reproduce this bug with the

[Matplotlib-users] PNG output and clipping

2009-04-21 Thread Thomas Robitaille
Hello, I am having a problem with imshow and PNG output. The following code can reproduce the problem: --- import matplotlib matplotlib.use('Agg') from matplotlib.pyplot import * import numpy as np image = np.random.random((100,100)) fig = figure(figsize=(4,4)) ax = fig.add_subplot(111)

Re: [Matplotlib-users] can't import pylab

2009-04-21 Thread John Seales
Anyone have any help to get pylab working? Should I reinstall? What method should I use? I'm using Mac os 10.4.11. Python is included in mac os. Matplotlib I installed from a precompiled version. I tried doing what you suggest, but it didn't work. I still can't import pylab.

Re: [Matplotlib-users] Different plot settings for different circumstances

2009-04-21 Thread Klein, Bryan W.
Date: Tue, 21 Apr 2009 19:49:20 +0200 From: Chaitanya Krishna icym...@gmail.com Subject: [Matplotlib-users] Different plot settings for different circumstances ... So, is there a way to decouple the plot settings (like figure size, axes properties, tick properties, etc) from the

Re: [Matplotlib-users] least squares fitting of great circle to points on a sphere

2009-04-21 Thread Zane Selvans
On Fri, Aug 8, 2008 at 10:35 AM, Charles R Harris charlesr.har...@gmail.com wrote: On Mon, Aug 4, 2008 at 11:48 AM, Zane Selvans z...@ideotrope.org wrote: Does anyone out there happen to know a simple algorithm for least squares fitting a great circle to a given set of lat/lon points on a

[Matplotlib-users] help installing matplotlib

2009-04-21 Thread John Seales
I have an intel mac running os 10.4.11. I use python 2.6 I am trying to install matplotlib and I can't figure it out. Can anyone help me? _ Windows Live™ Hotmail®:…more than just e-mail.

[Matplotlib-users] load signed data joins problem

2009-04-21 Thread darkside
Hi, I found a problem loading data: I have a file of signed numbers like: -1.370674456E+02-1.662854139E+02 0.0E+00 0.0E+00 0.0E+00 6.964865599E+10 8.394798002E-11 4.348192658E+03 9.455873862E+02 3.292484968E-09 The problem is that the signed numbers join so I always find