[Matplotlib-users] Errors, warnings, fonts and py2exe

2011-11-10 Thread Armando Serrano Lombillo
Hello, I'm having a weird problem with matplotlib not finding fonts when being used from a py2exe packed program. The weird thing is that the program works fine on some computers, gives an annoying warning in others (but otherwise keeps working and plots things ok) or gives an error (and no plot

Re: [Matplotlib-users] Errors, warnings, fonts and py2exe

2011-11-10 Thread Armando Serrano Lombillo
, 'optimize':1}}. Python 2.5.4 and matplotlib 1.0.0. On Thu, Nov 10, 2011 at 5:03 PM, Michael Droettboom md...@stsci.edu wrote: Did you include the fonts as described here? http://www.py2exe.org/index.cgi/MatPlotLib Mike On 11/10/2011 08:03 AM, Armando Serrano Lombillo wrote: Hello

Re: [Matplotlib-users] Help with some data manipulation for a plot

2011-09-22 Thread Armando Serrano Lombillo
On Wed, Sep 21, 2011 at 9:28 PM, Benjamin Root ben.r...@ou.edu wrote: On Wed, Sep 21, 2011 at 2:00 PM, Armando Serrano Lombillo arser...@gmail.com wrote: Hello I have a dat set like this one a=[[x1, y1, cat1], [x2, y2, cat1], ..., [x8, y8, cat1], [x9, y9, cat2], ..., [x34, y34, cat2], [x35

[Matplotlib-users] Help plotting dates

2009-09-08 Thread Armando Serrano Lombillo
Hello, I'm finding it a little difficult to make a plot with dates: I have an array with 2 columns. The first one is seconds since a certain date (let's say 8th September, 8:00am). The second one is the variable I want to plot. The series spans several months so I want to have the major ticks be

Re: [Matplotlib-users] Matplotlib and Python 3

2008-12-05 Thread Armando Serrano Lombillo
The bottleneck for Python 3 adoption is going to be the availability of compatible third party libraries. I'm using numpy, scipy, matplotlib, wxpython, pywin32 and py2exe, so I'm not even going to download python 3 until all these projects have moved to it. Armando. On Fri, Dec 5, 2008 at 2:37

Re: [Matplotlib-users] RuntimeError after clearing and plotting for many times

2007-12-12 Thread Armando Serrano Lombillo
)) (Obviously, back up the file first...) On Dec 12, 2007 8:32 PM, Armando Serrano Lombillo [EMAIL PROTECTED] wrote: I'm running into the very same problem. I'm using matplotlib from a wxPython application, the same versions as you (Yongtao Cui), and I get the same error (see below) after

Re: [Matplotlib-users] RuntimeError after clearing and plotting for many times

2007-12-12 Thread Armando Serrano Lombillo
I'm running into the very same problem. I'm using matplotlib from a wxPython application, the same versions as you (Yongtao Cui), and I get the same error (see below) after repainting a figure many times. In my case I plot several figures (16 figures) and I get the error with very few repaintings.

Re: [Matplotlib-users] Reposition a Legend

2007-07-23 Thread Armando Serrano Lombillo
In the legend command, the location keyword accepts a tuple giving x, y in axes coords, so I guess it will also work similarly with the figlegend command (which I assume you are using). Also you could try using legend (instead of figlegend) with coords out of the [0,1] range. See:

[Matplotlib-users] Filtering plots

2007-07-18 Thread Armando Serrano Lombillo
Hello, I have a question. Let's say I have the following data: [1,3,6,1,2,0,0,0,0,1,4,7,9,4,2,4,6,0,0,0,0,0,0,0,0,0,0,0,0,1,3,5,6,7,8] which I want to plot, but I want to omit the zeros, so I would like to do something like: plot(range(1,6), [1,3,6,1,2], 'b') plot(range(10,18),

Re: [Matplotlib-users] Filtering plots

2007-07-18 Thread Armando Serrano Lombillo
disjoint segments, while the second plots three joint segments. I did code a workaround to plot the data as I wanted but it's something like 20 lines of ugly code and I really think there must be an easier way. By the way, Angel, my name is Armando not Alejandro. ;) On 7/18/07, Armando Serrano

Re: [Matplotlib-users] Filtering plots

2007-07-18 Thread Armando Serrano Lombillo
Yes! matplotlib is beautiful. Thanks everybody for your help. On 7/18/07, Angus McMorland [EMAIL PROTECTED] wrote: Hi Armando, On 18/07/07, Armando Serrano Lombillo [EMAIL PROTECTED] wrote: Hello, I have a question. Let's say I have the following data

[Matplotlib-users] Changing the axes box to arrows

2006-12-22 Thread Armando Serrano Lombillo
Hello, I would like to change the axes box by two arrows in the x and y direction, something like this: y ^ | | | | +x Can it be done in matplotlib? - Take Surveys. Earn Cash. Influence the Future of IT Join

[Matplotlib-users] Problem with matplotlibrc file

2006-12-22 Thread Armando Serrano Lombillo
Hello, I have installed matplotlib 0.87.7 (with the standard windows exe). If I use the provided matplotlibrc file I get errors complaining about the following lines: lines.markerfacecolor : blue lines.markeredgecolor : black Commenting them out stops the problem and matplotlib seems to run