[Matplotlib-users] create ListedColormap with different alpha values

2008-11-21 Thread Simon Kammerer
Hi all, I'd like to create a ListedColormap with different alpha values, like ... [ 1. , 1. , 1. , 0.65], [ 1. , 1. , 1. , 0.66], [ 1. , 1. , 1. , 0.67], [ 1. , 1. , 1. , 0.68], [ 1. , 1. , 1. , 0.69], [ 1. , 1. , 1

[Matplotlib-users] xticklabels: how to position majors on top/north, minors on bottom/south?

2007-07-23 Thread Simon Kammerer
Hi list, how can I position major xticklabels on top of my axes an minor xticklabels on bottom? Example: Datetimes on xaxis, minors = hours, labels as usual below xaxis, majors = days, labels on top of my axes: 23.07 24.07 25.07 26.07 27.07 28.07 ---

Re: [Matplotlib-users] Reusing basemap instance

2007-05-10 Thread Simon Kammerer
I reuse a Basemap instance to reduce processing time. What I do is basically: 1. Remember all items I added to the map 2. Remove all items I don't want to keep I use a list for every category of items (contoursets, clabels, texts, ...), as the way to remove them is slightly different. Then I re

[Matplotlib-users] Basemap: how to fill continents and then contourf over filled continents?

2007-04-13 Thread Simon Kammerer
Hi list, is there a way to fill continents with basemap an then use contourf to draw filled contours over the continents? Its useless when the filled contours cover the whole map, but when only parts of the map are covered with filled contours, it would be nice to paint over the continents (bu

Re: [Matplotlib-users] Reuse or clone axes / figure / ??? from basemap for time series plot

2007-04-10 Thread Simon Kammerer
John Hunter schrieb: > On 4/4/07, Simon Kammerer <[EMAIL PROTECTED]> wrote: >> Hi list, >> >> I guess it's not limited to the basemap toolkit, but it fits to explain >> my problem: >> >> I'd like to produce time series with basemap. As drawi

[Matplotlib-users] Reuse or clone axes / figure / ??? from basemap for time series plot

2007-04-04 Thread Simon Kammerer
Hi list, I guess it's not limited to the basemap toolkit, but it fits to explain my problem: I'd like to produce time series with basemap. As drawing coastlines, countrys etc. is expensive, but stays the same for every time step, I'd like to draw the basemap "background" only once and the reus

Re: [Matplotlib-users] Best way to plot grid point values on a map?

2007-04-04 Thread Simon Kammerer
nly a little bit slower than contour / contourf. Simon Jeff Whitaker schrieb: > Simon Kammerer wrote: >> Hi list, >> >> what's the best (meaning most efficient/fastest) way to plot grid >> point values on a map created with basemap? >> >> I'

[Matplotlib-users] Best way to plot grid point values on a map?

2007-04-03 Thread Simon Kammerer
Hi list, what's the best (meaning most efficient/fastest) way to plot grid point values on a map created with basemap? I'd like to plot the raw values of my data-array to the correspondig gridpoints, instead of having it transformed to something like contour or contourf. The ne plus ultra woul

[Matplotlib-users] clabel and basemap

2007-04-02 Thread Simon Kammerer
Hi list, when using clabel with basemap, it seems to me that clabel labels contours outside the visible area of my maps, (see attached example). Any hints / workarounds? Or am I missing something? Regards Simon [Modified wiki_example.py, labels visible with ortho projection, labels not visi

[Matplotlib-users] Force clabel to label all contour lines?

2007-04-02 Thread Simon Kammerer
Hi list, is there a way to force clabel to label all contour lines? Regards Simon - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions o

[Matplotlib-users] basemap: avoid thin line at end/beginning of data on orthographic projections?

2007-01-18 Thread Simon Kammerer
Hello list! Is there a way to avoid the thin line at the end/beginning of data when using an orthographic projection? With other projections or when no pole is visible, the line can be hidden by shifting the data grid (as done in the example), but if you have to have one of the poles visible, I do