[Matplotlib-users] custom navigation toolbar

2009-06-04 Thread Guâno
Hello all I'm trying to add a custom button in the navigation toolbar for a wx app. so far, I can add the button, but can't get it to work. here is a snippet of the code (the classes are in the same file): #custom matplotlib navigation toolbar #from: http://www.nabble.com/Re%3A-Navigation-too

Re: [Matplotlib-users] Problem with Arcs

2009-05-18 Thread Guâno
Well.. that worked. I didn't tried at first because the docs says it can't be filled... cheers 2009/5/18 Roban Hultman Kramer : > Have you tried specifying a value for fill? > > 2009/5/18 Carlos "Guâno" Grohmann : >> Hello all >> >> I

Re: [Matplotlib-users] Problem with Arcs

2009-05-18 Thread Guâno
.  Because it performs various optimizations, it >   can not be filled. > > If you want to draw a filled, yet partial, circle, I believe you want to use > Wedge. > > Cheers, > Mike > > > Carlos Guâno Grohmann wrote: >> >> Hello all >>

[Matplotlib-users] Problem with Arcs

2009-05-18 Thread Guâno
Hello all I'm having some troubles with Arcs in MPL. Using the following code: circ = Arc( (0,0), width=2, height=2, angle=0.0, theta1=0.0, theta2=360.0, ec=None, fc=None) axes.add_patch(circ) gives: Traceback (most recent call last): File "pystereo22.py", line 524, in

[Matplotlib-users] histogram colors

2009-05-06 Thread Guâno
Dears, I was wondering if I can use a custom colortable in a histogram, to get something like this: http://grass.itc.it/grass64/manuals/html64_user/r_surf_gauss_hist.png thanks -- Carlos Henrique Grohmann - Geologist D.Sc. a.k.a. Guano - Linux User #89721 ResearcherID: A-9030-2008 carlos dot

[Matplotlib-users] plot change position in wxpython when redraw

2009-04-22 Thread Guâno
Dear list fellows, I am writing an app focused in structural geology, using wxpython and matplotlib. To be quite honest, I'm not sure if this question should go here or in the wxpython list (so to avoid cross-posting, I'll try here first). The app uses matplotlib to plot data from orientation dat

[Matplotlib-users] problem with polar plots and thetagrids

2009-04-20 Thread Guâno
Dears, I'm trying to change the labels of a polar plot I have inside a wxpython app, but keep getting errors... this is a snippet of the code: #class for the second page of the notebook class PlotPanel(wx.Panel): def __init__(self, parent): wx.Panel.__init__(self, parent)