[Matplotlib-users] Maps with basemaps (Garmin File Format)

2010-05-04 Thread Stefanie Lück
Hello! Is it possible with the matplotlib basemap tool to draw locations of interest on my own map e.g. a Garmin Image Map File File? Thanks in advance! Stefanie -- ___

Re: [Matplotlib-users] Bar graph performance

2010-05-04 Thread Kun Hong
Eric, Thanks a lot for the pointers. Sorry for the double posting. I tried fill_between, which works better than bar graph. But I need to change the data set to be able to get the filling into a nicely-formed rectangle, and the performance is still not very good. As the below example shows:

Re: [Matplotlib-users] Problem with figure sizes using Qt4Agg

2010-05-04 Thread Gökhan Sever
On Mon, May 3, 2010 at 4:02 PM, Darren Dale dsdal...@gmail.com wrote: I got a suggestion at the PyQt4 mailing list, and the following patch appears to resolve the problem. Darren Thanks Darren. Your patch fixes the wrong sized figure creation problem. Both for WXAgg and Qt4Agg the maximum

[Matplotlib-users] Logscale on polar plot and alpha as an array

2010-05-04 Thread Pim Schellart
Hi Everyone, I am currently building an interactive display using matplotlib but I need the following two options. 1. Setting the r axis of a polar plot to logaritmic scale. 2. Setting alpha for each point individually (preferably by giving alpha an array of the same length as the data containing

Re: [Matplotlib-users] Logscale on polar plot and alpha as an array

2010-05-04 Thread Michael Droettboom
Pim Schellart wrote: Hi Everyone, I am currently building an interactive display using matplotlib but I need the following two options. 1. Setting the r axis of a polar plot to logaritmic scale. axis.set_rscale('log') 2. Setting alpha for each point individually (preferably by giving

Re: [Matplotlib-users] Problem with figure sizes using Qt4Agg

2010-05-04 Thread Darren Dale
On Tue, May 4, 2010 at 10:58 AM, Gökhan Sever gokhanse...@gmail.com wrote: On Mon, May 3, 2010 at 4:02 PM, Darren Dale dsdal...@gmail.com wrote: I got a suggestion at the PyQt4 mailing list, and the following patch appears to resolve the problem. Darren Thanks Darren. Your patch fixes

Re: [Matplotlib-users] Bar graph performance

2010-05-04 Thread Eric Firing
On 05/03/2010 11:45 PM, Kun Hong wrote: Eric, Thanks a lot for the pointers. Sorry for the double posting. I tried fill_between, which works better than bar graph. But I need to change the data set to be able to get the filling into a nicely-formed rectangle, and the performance is still

[Matplotlib-users] re move / delete arrow / annotate, how to?

2010-05-04 Thread KrishnaPribadi
Hi, I'm trying to remove or delete an annotate arrow but I'm unsuccessful. Can some please help? Thanks. I tried the [artist].remove() but that will not work with arrows or annotate objects... Here is some example code, please add in the code I need if you can: import numpy as np import

Re: [Matplotlib-users] re move / delete arrow / annotate, how to?

2010-05-04 Thread Ryan May
On Tue, May 4, 2010 at 2:09 PM, KrishnaPribadi krishna.prib...@harley-davidson.com wrote: I'm trying to remove or delete an annotate arrow but I'm unsuccessful. Can some please help? Thanks. I tried the [artist].remove() but that will not work with arrows or annotate objects... Here is some

Re: [Matplotlib-users] re move / delete arrow / annotate, how to?

2010-05-04 Thread Jae-Joon Lee
Fixed in r8295. Axes.annotate was not setting the _remove_method attribute. Regards, -JJ On Tue, May 4, 2010 at 3:15 PM, Ryan May rma...@gmail.com wrote: On Tue, May 4, 2010 at 2:09 PM, KrishnaPribadi krishna.prib...@harley-davidson.com wrote: I'm trying to remove or delete an annotate

[Matplotlib-users] Some questions about mplot3D

2010-05-04 Thread Pau
Hello, I am trying to generate a 3d-plot I have two functions that depend on two free parameters, T_g = (5./512.) * Light_c**5 * a**4 / (Grav_G**3 * m**3) T_d = 3.e4 * sqrt(a**3/ (Grav_G * m**2.)) These are given in units of time, so that I would like axis y to be time, running between 1.0

[Matplotlib-users] projected coordinates: Basemap vs. Proj

2010-05-04 Thread Timothy W. Hilton
Hello matplotlib users, I am having trouble understanding the coordinate transformations in Basemap and pyproj. I have gridded MODIS vegetation data, with upper left corner and lower right corner given in projection coordinates (meters). I want to contour the data with Basemap. The data are in

Re: [Matplotlib-users] coordinate transformation: Basemap vs. Proj

2010-05-04 Thread Jeff Whitaker
On 5/4/10 2:03 PM, Timothy W. Hilton wrote: Hello matplotlib users, I am having trouble understanding the coordinate transformations in Basemap and pyproj. I have gridded MODIS vegetation data, with upper left corner and lower right corner given in projection coordinates (meters). I want

Re: [Matplotlib-users] coordinate transformation: Basemap vs. Proj

2010-05-04 Thread Timothy W. Hilton
Hi Jeff, Thanks very much for your response. As you noted, I do not understand the Basemap global sinusoidal coordinate system. Does this statement not set up a global sinusoidal cartesian coordinate system centered at (lon = 0.0, lat = 0.0)? m = Basemap(projection='sinu', resolution=None,

[Matplotlib-users] get_*gridlines alwys returns the same things?

2010-05-04 Thread Nico Schlömer
This is weird: When plotting something very simple, e.g., t = arange( 0.0, 2.0, 0.01 ) s = sin( 2*pi*t ) plot( t, s, : ) I thought I can check weather the grid is on or off by gca().get_xgridlines() -- but this *always* returns a list of 5 Line2D xgridline objects

Re: [Matplotlib-users] coordinate transformation: Basemap vs. Proj

2010-05-04 Thread Jeff Whitaker
On 5/4/10 4:25 PM, Timothy W. Hilton wrote: Hi Jeff, Thanks very much for your response. As you noted, I do not understand the Basemap global sinusoidal coordinate system. Does this statement not set up a global sinusoidal cartesian coordinate system centered at (lon = 0.0, lat = 0.0)?