[Matplotlib-users] matshow

2009-09-16 Thread Bala subramanian
Friends, I have a matrix data and i used matshow() function to plot. The plot is attached. 1) After plotting the data, i used xticks() function to change the x-axis tick labels from x1 to x12 ( figure attached). Similarly I want to change the y-axis tick labels into as A,B and C, instead of 0,1,

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=detail&atid=560720&aid=2830483&group_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

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 sha

[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 to

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

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 not

[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 -- Com

[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 an

Re: [Matplotlib-users] loglog plot

2009-09-16 Thread Gökhan Sever
On Tue, Sep 15, 2009 at 1:24 AM, redrum 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() ax1.yaxis.set_major_formatter(ticker.Fo

Re: [Matplotlib-users] plotting traces scrollable window

2009-09-16 Thread S.Selvam
On Wed, Sep 16, 2009 at 6:56 PM, S.Selvam 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 dataset in a singl

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] 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 >

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: > > impo

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 fro

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 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 f

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 Diaboflo
The simplest case would be: import pylab pylab.plot([1,2]) pylab.xlabel("$\phi$") pylab.savefig("fig.png") pylab.savefig("fig.eps") The png has the xlabel as phi, the xlabel in the eps file is just empty. I use python 2.5, don't really know which version of matplotlib is installed but it is not

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

2009-09-16 Thread Michael Droettboom
I can't reproduce this here, but your settings may be different than mine. What rcParams have you specified in your matplotlibrc (in particular, is usetex on or off)? What version of matplotlib? Mike Diaboflo wrote: > Hi, > I have a strange problem with matplotlib: I use the greek character p

[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 have

[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 pa

[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 h