Re: [Matplotlib-users] stem plot with horizontal offset (BaseValue)

2015-03-31 Thread Andrew Dawson
Looking at the source code indicates there is a 'bottom' keyword which looks like it controls this, see https://github.com/matplotlib/matplotlib/blob/v1.4.3/lib/matplotlib/axes/_axes.py#L2295 On 31 March 2015 at 19:31, ssinfod wrote: > Hello, > > I found this stem plot example: > http://matplotl

Re: [Matplotlib-users] Crash when using matplotlib.tri.LinearTriInterpolator

2014-08-11 Thread Andrew Dawson
][:, :]-1 > > triang = tri.Triangulation(x, y, triangles=elems) > > data = data.filled(0.0) > > # this still crashes the python interpreter > interp = tri.LinearTriInterpolator(triang, data) > > Thanks again! > Regards Hartmut > --- > http://boos

Re: [Matplotlib-users] 1.3 + xkcd + latex

2013-10-18 Thread Andrew Dawson
gt; Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most > from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk > __

Re: [Matplotlib-users] Hovemuller Diagram

2013-07-13 Thread Andrew Dawson
, "Sudheer Joseph" wrote: > Hi, > > I did not understand 1d mentioned by you? for a diagram like this 2D is > must as it need longitude /latitude and also time > with best regards, > Sudheer > > From: Andrew Dawson > > To: Phil Elson > >Cc: Sudheer Josep

Re: [Matplotlib-users] Hovemuller Diagram

2013-07-12 Thread Andrew Dawson
gt;> >>> >> >>> -- >> >>> Dr. Richard P. Signell (508) 457-2229 >> >>> USGS, 384 Woods Hole Rd. >> >>> Woods Hole, MA 02543-1598 >> >>> >>

Re: [Matplotlib-users] removing paths inside polygon

2013-03-22 Thread Andrew Dawson
Thanks, the clipping is working now. But as you say the weird line width issue still remains for Agg (and png, perhaps that uses Agg, I don't know...). PDF output looks correct. On 20 March 2013 05:48, Jae-Joon Lee wrote: > > On Wed, Mar 13, 2013 at 2:17 AM, Andrew Dawson wrot

[Matplotlib-users] removing paths inside polygon

2013-03-12 Thread Andrew Dawson
Hi I'd like to be able to clip a line so that the portion of it lying outside of a given polygon remains visible and the part that lies inside of the polygon is not visible. What I want is basically the opposite of: line.set_clip_path(polygon) which leaves only the part of the line inside th

[Matplotlib-users] dash length for dashed contours

2013-01-23 Thread Andrew Dawson
Hi all, [TL;DR: is it possible to control the length of the dashes in dashed contours, if so how?] I'd like to be able to control the length of dashes for dashed contours. My motivation is that I'm making a contour plot that uses dashes for the negative contours, and the plot needs to be a specif

[Matplotlib-users] 3d animated scatter plot

2012-11-11 Thread Andrew Dawson
Hi I'm trying to plot the trajectory of a particle in 3d using mplot3d. I tried to follow the example of an animated 3d plot on the matplotlib website but I'm having trouble with the updating of the data point being plotted at each frame. Does anyone know how to do this? So far I have: import nu