Re: [Matplotlib-users] mplot3d - ploting 3d triangular mesh model - need help

2010-11-12 Thread Gael Varoquaux
On Fri, Nov 12, 2010 at 07:49:49AM +, Ian Thomas wrote: > please is there any one can tell me if it's possible in mplot3d to plot > 3d > triangular mesh model with a colormap different from �the Z variable. I > don't find example in tutorial for this. > thanks. >No

Re: [Matplotlib-users] Linecollection, Dates on X-axis

2010-11-12 Thread Tim Åberg
Thats seems to be what im after, diffrent resolution but that would be a easy fix i guess :) Did you manage to run the example? i got a; datafile = cbook.get_sample_data('msft.csv', asfileobj=False) AttributeError: 'module' object has no attribute 'get_sample_data' error > Subject: RE:

[Matplotlib-users] Figure and Canvas

2010-11-12 Thread Olivier Verdier
Hi, I would like to use matplotlib in a programmatic way. I thought about creating a Figure object (with no canvas), and plot in that Figure. Depending on what the user wants, I could then either plot on screen or save on file. The problem is that I don't know how to connect a Figure object to

Re: [Matplotlib-users] mplot3d - ploting 3d triangular mesh model - need help

2010-11-12 Thread isolat
thanks Ian for your reply, It is a pity, because it is very useful to plot simulation result on irugular 3d grid. Ian Thomas-8 wrote: > > On 11 November 2010 12:41, isolat wrote: > >> >> hi all, >> please is there any one can tell me if it's possible in mplot3d to plot >> 3d >> triangular

Re: [Matplotlib-users] mplot3d - ploting 3d triangular mesh model - need help

2010-11-12 Thread isolat
Hi Gael, it's exactly what I need ! thanks... Gael Varoquaux wrote: > > On Fri, Nov 12, 2010 at 07:49:49AM +, Ian Thomas wrote: >> please is there any one can tell me if it's possible in mplot3d to >> plot >> 3d >> triangular mesh model with a colormap different from �the Z

Re: [Matplotlib-users] Linecollection, Dates on X-axis

2010-11-12 Thread John Hunter
On Nov 12, 2010, at 4:12 AM, Tim Åberg wrote: > Thats seems to be what im after, diffrent resolution but that would be a easy > fix i guess :) > Did you manage to run the example? i got a; > > datafile = cbook.get_sample_data('msft.csv', asfileobj=False) > AttributeError: 'module' objec

Re: [Matplotlib-users] Figure and Canvas

2010-11-12 Thread Aman Thakral
Hi Oliver, Have you looked at any examples on the matplotlib site? For instance, there are several examples about how to use wxPython (wx) with matplotlib. Also, there is a save feature currently available in current gui when you run figure() (it is a floppy disk in navigation panel below the fig

Re: [Matplotlib-users] Figure and Canvas

2010-11-12 Thread John Hunter
On Fri, Nov 12, 2010 at 4:20 AM, Olivier Verdier wrote: > Hi, > > I would like to use matplotlib in a programmatic way. > > I thought about creating a Figure object (with no canvas), and plot in > that Figure. > > Depending on what the user wants, I could then either plot on screen > or save on fi

[Matplotlib-users] Change in pcolor functionality from 0.99.1.1 to 1.0.0

2010-11-12 Thread Guy Griffiths
Hi, I've been using matplotlib for a while for plotting scientific data, and recently upgraded from version 0.99.1.1 to 1.0.0. Primarily I use pcolor to produce plots of concentration in 2D space. I use reasonably fine meshes, and in v0.99.1.1 the output looked great. In v1.0.0, all of my pl

Re: [Matplotlib-users] Mac OSX backend

2010-11-12 Thread John Hunter
On Thu, Nov 11, 2010 at 7:32 PM, Michiel de Hoon wrote: > For this example, I am finding the exact same behavior with the Mac OS X > backend as with the gtkcairo and gtkagg backends (on Mac OS X and Cygwin). If > this is a bug, then which backend can we use as an example of the correct > behavi

Re: [Matplotlib-users] RectangleSelector Issue

2010-11-12 Thread Ryan May
On Thu, Nov 11, 2010 at 9:41 PM, Martin Bures wrote: > I am having a little issue with the matplotlib.widgets RectangleSelector. > The behavior is that the first time I try to select a region, no rectangle > draws.  All subsequent uses work correctly. > > Here is how I am calling: > if self.zoomMo

Re: [Matplotlib-users] Change in pcolor functionality from 0.99.1.1 to 1.0.0

2010-11-12 Thread Benjamin Root
On Fri, Nov 12, 2010 at 5:11 AM, Guy Griffiths wrote: > Hi, > > I've been using matplotlib for a while for plotting scientific data, and > recently upgraded from version 0.99.1.1 to 1.0.0. Primarily I use pcolor > to > produce plots of concentration in 2D space. I use reasonably fine meshes, > a

Re: [Matplotlib-users] annotate arrow drawn slightly off

2010-11-12 Thread Michael Droettboom
On 11/09/2010 07:57 PM, Jae-Joon Lee wrote: > On Wed, Nov 10, 2010 at 12:21 AM, Benjamin Root wrote: > >> On Tue, Nov 9, 2010 at 7:24 AM, Jae-Joon Lee wrote: >> >>> Thanks for tracking down this. >>> It turned out to be a silly error while adjusting the line end-point. >>> I'm attaching

Re: [Matplotlib-users] How to set axis limits with text objects ?

2010-11-12 Thread Benjamin Root
On Sun, Nov 7, 2010 at 9:40 AM, LB wrote: > Hi, > > I'm trying to draw a bar chart according to > http://matplotlib.sourceforge.net/examples/api/barchart_demo.html, and I'm > having to difficulties : > > - when the first bar has a zero height, it is no taken into account during > the axis limits

Re: [Matplotlib-users] Change in pcolor functionality from 0.99.1.1 to 1.0.0

2010-11-12 Thread Ryan May
On Fri, Nov 12, 2010 at 8:40 AM, Benjamin Root wrote: > On Fri, Nov 12, 2010 at 5:11 AM, Guy Griffiths > wrote: >> >> Hi, >> >> I've been using matplotlib for a while for plotting scientific data, and >> recently upgraded from version 0.99.1.1 to 1.0.0.  Primarily I use pcolor >> to >> produce pl

Re: [Matplotlib-users] fill_between with drawstyle steps?

2010-11-12 Thread Stan West
> From: Thøger Emil Juul Thorsen [mailto:thoe...@fys.ku.dk] > Sent: Tuesday, November 09, 2010 11:10 > > I'm trying to do a fill-between part of a spectrum and its continuum > value. I would strongly prefer the drawstyle to be steps, since each > data point represents a bin (or pixel, to be preci

Re: [Matplotlib-users] RectangleSelector Issue

2010-11-12 Thread Martin Bures
I noticed that in another post and did try that but the behavior was the same. martin. On Fri, Nov 12, 2010 at 9:14 AM, Ryan May wrote: > On Thu, Nov 11, 2010 at 9:41 PM, Martin Bures > wrote: > > I am having a little issue with the matplotlib.widgets RectangleSelector. > > The behavior is tha

[Matplotlib-users] Backgroundcolor for text

2010-11-12 Thread Bror Jonsson
Dear all, I must be doing something wrong, but it seems like the backgroundcolor statement for text just stopped working. I am using matplotlib 1.0.0 with MacOSX as backend on two different machines. If I run ipython -pylab text(0,0,'Kalle',backgroundcolor='0.6') I get this result: <> (The

[Matplotlib-users] import pylab crashes python

2010-11-12 Thread D
Hello, I am running Python 2.5.2 on win xp sp3 on an Intel Core2 Duo. After installation of matplotlib-1.0.0.win32-py2.5.exe I get a Windows crash on importing pylab. import pylab -> An unhandled win32 exception occured in python.exe [5048] import matplotlib works I did not add anything to the ma

[Matplotlib-users] Two sets of ticks on a colorbar?

2010-11-12 Thread Daniel Welling
Greetings. I am making some contour plots and in my field for this particular value, there are two widely used units. As such, it is very useful to have both units listed on the colorbar. To clarify: the colorbar's normal ticks would be facing to the right and labeled with Unit Type 1, which was

Re: [Matplotlib-users] tick formatter - floating axis

2010-11-12 Thread Jae-Joon Lee
With axisartist toolkit, no. I may add a simple wrapper around matplotlit's original formatter classes. Regards, -JJ On Thu, Nov 11, 2010 at 11:17 PM, Stefan Mauerberger wrote: > Hi JJ, > > thanks a lot for your Answer. Now I have understand how this works and > created my one formatter: > > c

Re: [Matplotlib-users] Backgroundcolor for text

2010-11-12 Thread Jae-Joon Lee
I cannot reproduce this with agg, ps and pdf backend. Maybe this bug is specific to the Mac oS X backend? Regards, -JJ On Sat, Nov 13, 2010 at 5:19 AM, Bror Jonsson wrote: > > Dear all, > > I must be doing something wrong, but it seems like the backgroundcolor > statement for text just stoppe