Re: [Matplotlib-users] basemap via macports [solved]

2012-08-26 Thread Carlos Grohmann
Indeed I was running Apple Python instead of macport. Thanks for all that pointed it out. best Carlos On Fri, Aug 24, 2012 at 11:46 AM, Carlos Grohmann wrote: > Hello all, > > I just did a fresh macports install, and installed > py27-matplotlib-basemap, so all dependencies we

Re: [Matplotlib-users] py2app setup.py example?

2011-09-01 Thread Carlos Grohmann
#x27;re using), I've found that the first example given works > perfectly. > > Hope that helps! > > > > > > On 1 September 2011 04:42, Carlos Grohmann wrote: > >> Hello all. >> >> I've been looking for a good example of setup.py to build a bund

[Matplotlib-users] py2app setup.py example?

2011-08-31 Thread Carlos Grohmann
Hello all. I've been looking for a good example of setup.py to build a bundle app with wxpython+matplotlib. Can someone share or point me in a direction? thanks -- Prof. Carlos Henrique Grohmann - Geologist D.Sc. Institute of Geosciences - Univ. of São Paulo, Brazil http://www.igc.usp.br/pessoa

[Matplotlib-users] fixing figure size on wxpython app

2011-06-05 Thread Carlos Grohmann
Hi all, I'm developing an app for structural geology called OenStereo ( www.igc.usp.br/openstereo), using matplotlib and wxpython. So far, I'm really happy with the results, but there is still one thing annoying me: when I save the plots (using the save icon in the NavigationToolbar), the resultin

[Matplotlib-users] issues when saving files - no automatic extension added in dialog

2011-02-07 Thread Carlos Grohmann
Hello all, I'm developing a software for Geology, using wxpython for the GUI. When I want to export any graphics, clicking on the "save" button on the MPL toolbar, I get a dialog to save the file (with a default "image.png" filename) and where I can choose between some file formats. When I select

[Matplotlib-users] EMF support?

2011-02-07 Thread Carlos Grohmann
Hello there Is there support for exporting graphics as EMF files? >From what I've seen it seems to be discontinued. best Carlos -- Prof. Carlos Henrique Grohmann - Geologist D.Sc. Institute of Geosciences - Univ. of São Paulo, Brazil http://www.igc.usp.br/pessoais/guano http://lattes.cnpq.b

Re: [Matplotlib-users] citation of mpl

2010-09-23 Thread Carlos Grohmann
many thanks. very useful info. Carlos On Thu, Sep 23, 2010 at 17:03, John Hunter wrote: > On Thu, Sep 23, 2010 at 2:33 PM, Chloe Lewis wrote: >> Well, I had my bib program open, so here are a couple formats: > > Thanks for posting these.  I added this to the FAQ: > >  http://matplotlib.sourcef

Re: [Matplotlib-users] py2exe and matplotlib - Fonts: do I need them all?

2010-09-18 Thread Carlos Grohmann
Many thanks Ben! I went and removed all fonts but regular helvetica and vera, also I removed all but the .png files under images, and now my mpl-data is about 250 kb. cheers Carlos On Thu, Sep 16, 2010 at 21:39, Benjamin Root wrote: > On Thu, Sep 16, 2010 at 5:33 PM, Carlos Grohm

[Matplotlib-users] automatically change file extension when saving

2010-09-17 Thread Carlos Grohmann
Hi there, I've been looking for a way to automatically set the extension of a file when saving a plot via the navigationBar 'save' button. In my case, when I change the file type, the extension of the default filename ('image.png') won't change. I'd like it to change to the extension of the file t

[Matplotlib-users] py2exe and matplotlib - Fonts: do I need them all?

2010-09-16 Thread Carlos Grohmann
Hello all, I'm new to py2exe but I managed to create a binary executable of my program. Now I'm experiencing on how to make the final size of the binary smaller. I already managed to cut about 15Mb by removing calls to pyQt (I use Wxpython) and also to scipy. One thing that is still bothering me

Re: [Matplotlib-users] problem with MPL+py2exe (wx app needs qt?)

2010-09-13 Thread Carlos Grohmann
Many thanks, that helper. After some more problems with scipy, I got a working EXE. PyQt4 is still in the library, though. Eating almost 15Mb... Now all I have to do is to find out how to remove it.. cheers Carlos On Mon, Sep 13, 2010 at 18:47, Goyo wrote: > 2010/9/13 Carlos Grohm

[Matplotlib-users] problem with MPL+py2exe (wx app needs qt?)

2010-09-13 Thread Carlos Grohmann
Hello all, I'm trying to build an executable distribution of an app I'm working using py2exe. After a lot of googling, I found what it seems to be a good combination of parameters, but when I try to run the .exe, it fails. The .log file shows me that the module backend_qt4agg wasn't found: > Im

Re: [Matplotlib-users] exclude something from legend

2010-08-26 Thread Carlos Grohmann
Many thanks Tinne. That did it. On Thu, Aug 26, 2010 at 03:55, Tinne De Laet wrote: > Hi Carlos, > > On Thu, Aug 26, 2010 at 04:49, Carlos Grohmann > wrote: >> Hello all, >> >> Is there a way to tell MPL that something I plotted (like a series of >> Lin

[Matplotlib-users] exclude something from legend

2010-08-25 Thread Carlos Grohmann
Hello all, Is there a way to tell MPL that something I plotted (like a series of Line2D, to create a grid) should not be considered for the legend? I'm plotting a lot of things, and because of these objects (without label), I always got these msgs: /usr/lib/pymodules/python2.6/matplotlib/axes.py

[Matplotlib-users] progress bar?

2010-06-28 Thread Carlos Grohmann
I've been searching but coudn't find any example on how to add a progress bar to a wxpython+matplotlib app. I'd like my app to show a progress bar while some gridding and contouring are being done. this is the code I'm using (without preogress bar) funcs = {"Natural Neighbor":'nn', "Triangul

Re: [Matplotlib-users] interpolate inside a circle

2010-05-26 Thread Carlos Grohmann
09:29, Fabrice Silva wrote: > Le mardi 25 mai 2010 à 21:47 -0300, Carlos Grohmann a écrit : >> Dears, I want to interpolate some irregular data using radial basis. >> Can I interpolate only the data that falls inside a circle (or a >> polygon)? > > May these pages help you?

[Matplotlib-users] interpolate inside a circle

2010-05-25 Thread Carlos Grohmann
Dears, I want to interpolate some irregular data using radial basis. Can I interpolate only the data that falls inside a circle (or a polygon)? TIA -- Prof. Carlos Henrique Grohmann - Geologist D.Sc. Institute of Geosciences - Univ. of São Paulo, Brazil http://www.igc.usp.br/pessoais/guano Linux

[Matplotlib-users] legend won't work with dashed lines

2010-04-30 Thread Carlos Grohmann
Hi all, I'm wirking on a wxpython app, and I realized that the legend of a matplotlib plot only works with solid lines. If I change the linestyles to dashed, dotted or dashdot, it gives an error: Traceback (most recent call last): File "/home/guano/Arbeit/Stout/StereoPanel.py", line 551, in Plo

Re: [Matplotlib-users] linestyles in LineCollection

2010-04-29 Thread Carlos Grohmann
e think of something? best Carlos On Wed, Apr 28, 2010 at 09:46, Michael Droettboom wrote: > I can't reproduce the error on 0.99.  Can you provide a complete script that > reproduces the error? > > Mike > > Carlos Grohmann wrote: >> >> I've been trying

Re: [Matplotlib-users] linestyles in LineCollection

2010-04-28 Thread Carlos Grohmann
lete script that > reproduces the error? > > Mike > > Carlos Grohmann wrote: >> >> I've been trying to change the linestyles in a LineCollection, but >> without any success... >> >> If I'm using: >> col = collections.LineCollection(listX

[Matplotlib-users] linestyles in LineCollection

2010-04-27 Thread Carlos Grohmann
I've been trying to change the linestyles in a LineCollection, but without any success... If I'm using: col = collections.LineCollection(listXY, linewidths=circwdt, colors=circcol, linestyle='solid', label=plabel) it works fine, but anything other than 'solid' gives me an error when the code call

Re: [Matplotlib-users] legend: symbols is duplicated

2010-04-23 Thread Carlos Grohmann
Many thanks! carlos On Thu, Apr 22, 2010 at 18:54, Gökhan Sever wrote: > > > On Thu, Apr 22, 2010 at 4:44 PM, Carlos Grohmann > wrote: >> >> Hi all, >> >> I'm getting this weird behavior of legend. I always get two symbols in >> front of the la

[Matplotlib-users] legend: symbols is duplicated

2010-04-22 Thread Carlos Grohmann
Hi all, I'm getting this weird behavior of legend. I always get two symbols in front of the labels, instead of one. Did anyone experienced this before? I'm working with MPL in a WxPython app. code snippet: [code] for i in range(len(self.idxPlan)): x = self.PeigenLis

[Matplotlib-users] how to get the properties for elements in a collection?

2009-08-17 Thread Carlos Grohmann
Hi, I have a collection, which is a scatter plot, and I want to iterate through all the elements in this collection and retrieve their properties, like facecolor. the scatterplot is created like this: axes.scatter(x,y, c=some_list, cmap=plt.get_cmap(colmap)) many thanks -- Carlos Henrique Groh