[Matplotlib-users] Latex characters don't show when I save to eps

2009-09-16 Thread Diaboflo
Hi, I have a strange problem with matplotlib: I use the greek character phi as a label ($\phi$). When I display the diagram everything looks fine, only when I save to an eps file, the phi dissappears (emplty space instead). Some other characters (\mu, \Delta) don't have this problem. Does anyone

[Matplotlib-users] loglog plot

2009-09-16 Thread redrum
Hi, I have a few questions about the loglog plot : 1- Is there a way to a have axis format with real numbers rather than numbers with exponent ? 2- I would like to have a grid not only for 10^2, 10^3, 10^4, 10^5 ... but also for the minor axis ticks. is it possible ? 3- I use loglog to plot

[Matplotlib-users] plotting traces scrollable window

2009-09-16 Thread S.Selvam
Hi all, Few days back i came to know about python-matplotlib module when looking at segypy(seismic data processsing) python module.It uses pylab.plot(x,y...) to plot traces. But the issue is it plots the complete dataset in a single view.I would like to have plots with decent intervel and

Re: [Matplotlib-users] error locating backends module

2009-09-16 Thread Jeff Peery
Hello, thank you for the respone. I am not working in such a file. I am experiencing strange behaviors when trying to import matplotlib. The error message AttributeError: 'module' object has no attribute 'backends' seems to appear depending upon how I import matplotlib.   For example my wxApp

Re: [Matplotlib-users] Latex characters don't show when I save to eps

2009-09-16 Thread Darren Dale
On Wed, Sep 16, 2009 at 11:13 AM, Diaboflo f...@hw.ac.uk wrote: The simplest case would be: import pylab pylab.plot([1,2]) pylab.xlabel($\phi$) Does this help: pylab.xlabel(r$\phi$) pylab.savefig(fig.png) pylab.savefig(fig.eps) The png has the xlabel as phi, the xlabel in the eps file

Re: [Matplotlib-users] Latex characters don't show when I save to eps

2009-09-16 Thread Diaboflo
Hi, no, this gives the same result: Fine with $\Delta$ but not with $\phi$ :( Flo Darren Dale-3 wrote: Does this help: pylab.xlabel(r$\phi$) -- View this message in context: http://www.nabble.com/Latex-characters-don%27t-show-when-I-save-to-eps-tp25433829p25475329.html Sent from the

Re: [Matplotlib-users] Latex characters don't show when I save to eps

2009-09-16 Thread Michael Droettboom
Can you send the output of import matplotlib matplotlib.__version__ It's possible this is a bug that has already been fixed in the development version, but I'd like to confirm that by running the same version that you have. Mike Diaboflo wrote: The simplest case would be: import pylab

Re: [Matplotlib-users] Latex characters don't show when I save to eps

2009-09-16 Thread Diaboflo
Michael Droettboom-3 wrote: Can you send the output of import matplotlib matplotlib.__version__ It's possible this is a bug that has already been fixed in the development version, but I'd like to confirm that by running the same version that you have. Mike Here you go:

Re: [Matplotlib-users] Latex characters don't show when I save to eps

2009-09-16 Thread Michael Droettboom
Hmm... 0.91.2 works for me. What platform are you on? When you view the attached file, do you see the phi in the title area? That can rule out a problem in your viewer. If that works for you, can you send me the .eps file you generated? Mike Diaboflo wrote: Michael Droettboom-3 wrote:

Re: [Matplotlib-users] plotting traces scrollable window

2009-09-16 Thread S.Selvam
On Wed, Sep 16, 2009 at 6:56 PM, S.Selvam s.selvams...@gmail.com wrote: Hi all, Few days back i came to know about python-matplotlib module when looking at segypy(seismic data processsing) python module.It uses pylab.plot(x,y...) to plot traces. But the issue is it plots the complete

Re: [Matplotlib-users] loglog plot

2009-09-16 Thread Gökhan Sever
On Tue, Sep 15, 2009 at 1:24 AM, redrum jvande...@hotmail.com wrote: Hi, I have a few questions about the loglog plot : 1- Is there a way to a have axis format with real numbers rather than numbers with exponent ? import matplotlib.pyplot as plt ax1 = plt.gca()

[Matplotlib-users] Polar plots rendered incorrectly in SVG

2009-09-16 Thread Bartosz Telenczuk
Dear all, I have a problem with exporting polar plots to SVG. When attached to axes which are not centered in the figure, the content (grids, data, etc.) seems not to be shifted correctly with the axes. However, when I plot it directly to the screen or export to PNG everything is fine. Here is

[Matplotlib-users] make.osx file

2009-09-16 Thread Thomas Robitaille
Hello, The make.osx file is now required (or at least recommended) to build matplotlib on MacOS X, but the file is absent from the 0.9.1 RC1 tarfile. Is this an oversight, or is it deliberate? Thanks, Thomas --

Re: [Matplotlib-users] Polar plots rendered incorrectly in SVG

2009-09-16 Thread Jae-Joon Lee
Thanks for reporting the problem. I can reproduce this error in the svn trunk. My diagnosis is that this is because the clip mask is not correctly set, i.e., the mask path is not properly flipped in the svg backend. I was able to solve this particular problem using the attached patch. But, i'm

Re: [Matplotlib-users] matplotlib 0.99.1rc1 available for testing

2009-09-16 Thread Eric Firing
Werner, Instead, it looks to me like the best solution is the one you provided at the very bottom of http://www.py2exe.org/index.cgi/MatPlotLib. I am happy with what ever change is done as long as it also works for py2exe'd application. I have applied this fix to the branch and the trunk,

[Matplotlib-users] Simple pattern recognition

2009-09-16 Thread Gökhan Sever
Hello all, I want to be able to count predefined simple rectangle shapes on an image as shown like in this one: http://img7.imageshack.us/img7/2327/particles.png Which is in my case to count all the blue pixels (they are ice-snow flake shadows in reality) in one of the column. What is the way

Re: [Matplotlib-users] Simple pattern recognition

2009-09-16 Thread Tony S Yu
On Sep 16, 2009, at 8:22 PM, Gökhan Sever wrote: Hello all, I want to be able to count predefined simple rectangle shapes on an image as shown like in this one: http://img7.imageshack.us/img7/2327/particles.png Which is in my case to count all the blue pixels (they are ice-snow flake

Re: [Matplotlib-users] mplot3d bars3d demo

2009-09-16 Thread Nicolas Bigaouette
I have reported that issue on the tracker at the end of July. You can fin dit here: http://sourceforge.net/tracker/?func=detailatid=560720aid=2830483group_id=80706 It's supposed to be fixed in 0.99... are you sure you are using it? I remember trying it just after the bug was closed with an svn