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 ssin...@gmail.com wrote: Hello, I found this stem plot example:

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

2013-10-18 Thread Andrew Dawson
-- Dr Andrew Dawson Atmospheric, Oceanic Planetary Physics Clarendon Laboratory Parks Road Oxford OX1 3PU, UK Tel: +44 (0)1865 282438 Email: daw...@atm.ox.ac.uk Web Site: http://www2.physics.ox.ac.uk/contacts/people/dawson

Re: [Matplotlib-users] Hovemuller Diagram

2013-07-13 Thread Andrew Dawson
, Sudheer Joseph sudheer.jos...@yahoo.com 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 daw...@atm.ox.ac.uk To: Phil Elson pelson@gmail.com Cc: Sudheer

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 lee.j.j...@gmail.com wrote: On Wed, Mar 13, 2013 at 2:17 AM, Andrew Dawson daw

[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

[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

[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