[Matplotlib-users] date-gaps in timeseries

2007-06-10 Thread rolandreichel
Hi, I want to plot some timeseries (eg. stockcharts). I use now DateLocator/Formatter, it works fine for me with the exeption, that dataless periods on X-Axis (eg. weekends) are also plotted. Is there an easy way to suppress them? regards --

[Matplotlib-users] Setting linestyle of contours with negative values problem

2007-06-10 Thread Mark Bakker
Hello - I tried to turn of the feature that makes contours with negative values dashed. According to the mailinglist this should go by setting: rcParams[' contour.negative_linestyle']=('None','None') I tried any combination of the None, None syntax, or just 'solid', but nothing worked. Example sh

[Matplotlib-users] [SPANISH] Python, OGR and Matplotlib

2007-06-10 Thread Jose Gomez-Dans
Hi all, First, sorry for the crossposting. I have drafted a small document (it is in Spanish, if there's interest, I'll have a go at translating it) on how to use OGR from Python access geospatial data, which can be further analysed or plotted with matplotlib. It is a very brief introduction, and s

Re: [Matplotlib-users] Setting linestyle of contours with negative values problem

2007-06-10 Thread Eric Firing
Mark, As a quick workaround, try rcParams['contour.negative_linestyle']=(6, 0) This is a hack--using dashes with zero-length spaces. I expect to have a better solution in svn shortly. Eric Mark Bakker wrote: > Hello - > > I tried to turn of the feature that makes contours with negative va

[Matplotlib-users] Simple scatter plot over an image

2007-06-10 Thread __
Hello, I'm trying to plot a simple list of x/y coords over an image (.png). I can show the image, or plot the data, but cannot find a way to layer one over the other. I would greatly appreciate someone pointing me in the right direction. Thanks. ---

Re: [Matplotlib-users] Setting linestyle of contours with negative values problem

2007-06-10 Thread Eric Firing
Mark, Presumably the mailing list method worked at one time, but it would be obscure and unintuitive even if it worked now. There are no other explicit dash styles given as a pair of numbers in the rc file, so the change I made in svn is to use the strings "solid" and "dashed"; the two-float

Re: [Matplotlib-users] Simple scatter plot over an image

2007-06-10 Thread Jake Emerson
The python imaging library is pretty good for this kind of thing. http://www.pythonware.com/library/pil/handbook/ Here's an (untested) example. Hope it helps. Jake #!/usr/bin/env python from pylab import scatter, save import Image #get the background image, and find out how big it is