[Matplotlib-users] path polygon direction?

2014-02-24 Thread Andres Luhamaa
Hi It has been reported in http://matplotlib.1069221.n5.nabble.com/How-to-properly-use-path-Path-contains-point-td40718.htmlbut I do not see anything has happened after this. Following code illustrates the problem, when polygon defined in one direction, I can check if point is inside it, if other d

Re: [Matplotlib-users] basemap map center issue

2010-11-11 Thread andres luhamaa
Yes, Your script reproduced the problem. Regards, Andres On 11.11.2010 16:03, Scott Sinclair wrote: > A good start is always a self contained script illustrating the problem. > > I don't have GTKAgg installed here to try. Does the script below > reproduce your problem? If so, maybe someone else c

Re: [Matplotlib-users] basemap map center issue

2010-11-11 Thread andres luhamaa
Thanks, it really works with QT4Agg! Still, I think it would be better, if it worked with default GTKAgg as well. But my understanging of the whole matplotlib code is probably too general to submit a bug report somewhere. Regards, Andres On 11.11.2010 14:12, Scott Sinclair wrote: > Your script

[Matplotlib-users] basemap map center issue

2010-11-11 Thread Andres Luhamaa
and lat_0=58, instead. I run numpy and matplotlib dev versions (a few weeks old) and basemap 1.0 Best regards, Andres Luhamaa I use following example: import pylab as plt from mpl_toolkits.basemap import Basemap lat_0=58.5 lon_0=25.5 width=40 height=40 m=Basemap(projection='ae

[Matplotlib-users] pcolormesh control color levels

2009-11-16 Thread Andres Luhamaa
Hello, I want to plot two sets of masked data on a single plot and I can not get exactly the kind of image I want to. I have tried pcolormesh and contourf and both have problems. With contourf the inner data does not look smooth and sometimes has a row of missing data around it, with pcolormes

Re: [Matplotlib-users] clabel and bbox

2009-08-03 Thread Andres Luhamaa
Jae-Joon Lee wrote: On Sat, Aug 1, 2009 at 5:04 PM, Andres Luhamaa wrote: Thank You, but now I have another little annoying issue. Besides clabel I add some text manually to my plot with plt.text and sometimes the clabel and plt.text overlap, and no matter in which order I plot them, the

Re: [Matplotlib-users] clabel and bbox

2009-08-01 Thread Andres Luhamaa
quot;,fc="y")) > > Regards, > > -JJ > > > On Sat, Aug 1, 2009 at 5:32 AM, Andres Luhamaa wrote: > >> Hello! >> Is it possible to add a bbox behind a clabel, like one can do with a >> plt.text or something that would look similar? >> >>

[Matplotlib-users] clabel and bbox

2009-08-01 Thread Andres Luhamaa
Hello! Is it possible to add a bbox behind a clabel, like one can do with a plt.text or something that would look similar? Best regards, Andres -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-D

Re: [Matplotlib-users] fill_between and masked array

2009-04-30 Thread Andres Luhamaa
John, that's exactly what I wanted, thanks. Andres John Hunter wrote: > > > On Wed, Apr 29, 2009 at 10:54 AM, John Hunter > wrote: > > > > fill_between does not currently support masked arrays, but I think > we could easily extend it to support the mask using th

Re: [Matplotlib-users] Memory leak in Agg backend?

2009-04-17 Thread Andres Luhamaa
a bit spurious (particularly with a memory-pooling Python build) especially for a leak this small. Mike Andres Luhamaa wrote: Michael Droettboom wrote: I am not able to reproduce this leak here with 0.98.6svn from today on RHEL4. What platform are you on? (See attached massif profile -

Re: [Matplotlib-users] Memory leak in Agg backend?

2009-04-17 Thread Andres Luhamaa
Michael Droettboom wrote: > I am not able to reproduce this leak here with 0.98.6svn from today on > RHEL4. What platform are you on? > > (See attached massif profile -- the memory usage is flat...) > > Mike Well, in my setup I see similar behaviour as in the initial question. Ubuntu 8.10 32bit,

[Matplotlib-users] postscript bug?

2009-04-15 Thread Andres Luhamaa
Hello! Following example will give strange result in postscript output. It does not happen, if I use imshow or contourf instead of pcolormesh and it seems to happen only with log scale. Best regards, Andres import numpy as np import matplotlib matplotlib.use( 'PS' ) from mpl_toolkits.basemap im

Re: [Matplotlib-users] postscript and basemap resolution

2009-04-15 Thread Andres Luhamaa
Thanks Jeff, seems better indeed with svn version, at least resolution 'h' works (cant test the f resolution on a laptop). But when I zoom the image 4x, then gv starts giving errors again. At the same time, evince can show at the same zoom level. Andres Jeff Whitaker wrote: > A

[Matplotlib-users] postscript and basemap resolution

2009-04-14 Thread Andres Luhamaa
Hello! I have a problem writing postscript output from a high resolution map. It does not give any error, but output file gives a lot of errors while I open it with gv. The following example works for basemap resolution 'i', but not with resolution 'f'. Any ideas what I should do in a different

Re: [Matplotlib-users] basemap drawcountries consistency

2009-02-23 Thread Andres Luhamaa
Jeff Whitaker wrote: > Andres Luhamaa wrote: > >> Hello! >> When trying to make a simple map of Europe with countries drawn, one can >> see that coastlines and country borders are not consistent. >> Borders between Finland-Russia, Sweden-Norway, Germany-Denmark f

[Matplotlib-users] basemap drawcountries consistency

2009-02-23 Thread Andres Luhamaa
Hello! When trying to make a simple map of Europe with countries drawn, one can see that coastlines and country borders are not consistent. Borders between Finland-Russia, Sweden-Norway, Germany-Denmark finish somewhere in the sea, to name just a few. Is this a known issue and is there a solutio

[Matplotlib-users] difference between 0.98.5 and 0.98.3

2008-12-18 Thread Andres Luhamaa
o situation, where one line of missing data would not destroy the whole graph. Best regards, Andres Luhamaa Univ. of Tartu, Estonia import sys #sys.path.insert(1,&#x

[Matplotlib-users] [Fwd: simple animation question]

2007-09-05 Thread Andres Luhamaa
Hi all! I'm new to matplotlib so please excuse me, if this is a bit too simple problem. I'm trying to animate simple plot using example anim.py It works well when I just write functions as follows: def joonista(x): line, = p.plot(ala, x) p.draw() time.sleep(0.1) def lpc(x): x2=emp