[Matplotlib-users] matplotlib basemap streamlines plot

2015-03-27 Thread Sappy85
Hi all, tried to plot a streamline with matplotlib. So far it work's. But my question: Is there a possibility to avoid the gaps in the streamlines (see my picture)? <http://matplotlib.1069221.n5.nabble.com/file/n45276/ff850_0.png> Regards Sappy85 -- View this message in con

[Matplotlib-users] contourf map with values

2015-03-01 Thread Sappy85
Hallo, i have an important question. Is it possible with matplotlib function "contourf()" to plot the values of the contour-data? Here is an example, what i mean: <http://matplotlib.1069221.n5.nabble.com/file/n45025/Untitled.png> (i use matplotlib with Basemap) Regards, Sappy

Re: [Matplotlib-users] Plotting maps with matplotlib-basemap very slow

2015-01-24 Thread Sappy85
lots pickle.load(open('map.pickle','rb')) # load here the above pickle # do some other stuff Regards Sappy85 -- View this message in context: http://matplotlib.1069221.n5.nabble.com/Plotting-maps-with-matplotlib-basemap-very-slow-tp44755p44761.html Sent from t

Re: [Matplotlib-users] Plotting maps with matplotlib-basemap very slow

2015-01-24 Thread Sappy85
Hi Ben, i run the process as user "root" on a virtual linux server. Is this a problem? -- View this message in context: http://matplotlib.1069221.n5.nabble.com/Plotting-maps-with-matplotlib-basemap-very-slow-tp44755p44759.html Sent from the matplotlib - users mailing list archive at Nabble.

Re: [Matplotlib-users] Plotting maps with matplotlib-basemap very slow

2015-01-24 Thread Sappy85
Hi, yes that helps a lot, reading in the boundaries from a shapefile. But does anybody know, how avoid the "double inner borders"? Coastlines seem to have a thinner border. Borders between two countries be drawn twice. Regards --

[Matplotlib-users] Plotting maps with matplotlib-basemap very slow

2015-01-24 Thread Sappy85
I would like to draw very, very simple maps of only europe in matplotlib / basemap, which takes very much time (around 10 seconds!). This is just unreal!? Setting of resolution is only "l" (low). I need to plot hundreds of those maps every few hours. This would be impossible!!? :( Here is the very

Re: [Matplotlib-users] Pyplot contour plot - clabel padding

2014-12-10 Thread Sappy85
Jody, perfect - that work's fine. Regards, Sappy85 -- View this message in context: http://matplotlib.1069221.n5.nabble.com/Pyplot-contour-plot-clabel-padding-tp44554p44591.html Sent from the matplotlib - users mailing list archive at Nabbl

Re: [Matplotlib-users] Pyplot contour plot - clabel padding

2014-12-09 Thread Sappy85
clabel call: *plt.xlim(0.0,6475051.47849) plt.ylim(0.0,4412688.31468)* Yes, that's it. Very confusing! I do not understand why that only goes so awkward? Thanks so much! Sappy85 -- View this message in context: http://matplotlib.1069221.n5.nabble.com/Pyplot-contour-plot-clabel-pa

Re: [Matplotlib-users] Patch + facecolors

2014-12-05 Thread Sappy85
p.array(colors)) ax.add_collection(p) plt.colorbar(p) plt.grid() plt.savefig('/var/www/img/help2.png', bbox_inches='tight',pad_inches=0.05) <http://matplotlib.1069221.n5.nabble.com/file/n44560/help2.png> Regards, Sappy85 -- View this message in context: http://matplotlib.10692

Re: [Matplotlib-users] Pyplot contour plot - clabel padding

2014-12-05 Thread Sappy85
65,5) S1=plt.contour(x,y,datac,levs,linewidths=0.5,colors='b') plt.clabel(S1,inline=1,inline_spacing=0,fontsize=8,fmt='%1.0f',colors='b') m.drawmapboundary(fill_color='w') m.drawcoastlines(linewidth=0.2) plt.savefig('test.png', bbox_inches='t

Re: [Matplotlib-users] Pyplot contour plot - clabel padding

2014-12-05 Thread Sappy85
Hi Jody, what exactly du you mean - the plot windows size? I tried this: fig = plt.figure(figsize=(8.4,5.76)) But still the same problem. Regards -- View this message in context: http://matplotlib.1069221.n5.nabble.com/Pyplot-contour-plot-clabel-padding-tp44554p44557.html Sent from the mat

[Matplotlib-users] Pyplot contour plot - clabel padding

2014-12-04 Thread Sappy85
I have trouble with matplotlib / pyplot / basemap. I plot contour lines (air pressure) on a map. I use clabel to show the value of the contour lines. But the problem: the padding between the value and the contour line is too much. I have found the parameter "inline_spacing", which i have set to zer

[Matplotlib-users] Plotting with a custom color-vector

2014-05-20 Thread Sappy85
Hello, I've created a map with matplotlib-Basemap and will have an animated gif by drawing my special points / markers one by one in the plot. That work's fine. Now the markers should have a special color from a generated color-vector. In this vector are values from (0.0-1.0) for grey values. The

[Matplotlib-users] Orientation of contour-values

2014-02-03 Thread Sappy85
Hello, i've made a (filled) contour plot with matplotlib-pyplot. First i use contour() and after that contourf(). My question: the contour-values on the lines have all different orientations. Is it possible to align alle values horizontal (linke normal text)? Thanks, Sappy85 -- View