[Matplotlib-users] Map projections and pyplot.plot

2011-12-01 Thread Bruce Ford
I have a basemap figure where data is placed atop, which can be in any
number of differing projections.  However, when I plot a line over it using
pyplot.plot, the line doesn't show unless I'm using
the cylindrical equidistant projection.

>From what I gather this is a limitation of the plot command.  Can anyone
confirm this?  Is this a limitation in that the 'cyl' projection is assumed
by pyplot.plot?

I saw a post that mentioned that a projection kwarg would not be added to
the plot command.  Does this mean that the plot command will realize the
projection of the gca basemap?

Bruce

---
Bruce W. Ford
--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] ft2font.cpp memory fix patch not in 1.1.x branch

2011-12-01 Thread Neilen Marais
Hi,

We are (I think) running into a memory leak that should be resolved by

https://github.com/matplotlib/matplotlib/commit
/98ee4e991ae142622f3814db193b75236eb77cea#src/ft2font.cpp

It was commited in March, but seems not to have made its way to the 1.1.x
branch. Would it be possible for a maintainer to apply it to the release branch?

Thanks
Neilen


--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] ft2font.cpp memory fix patch not in 1.1.x branch

2011-12-01 Thread Benjamin Root
On Thu, Dec 1, 2011 at 9:29 AM, Neilen Marais  wrote:

> https://github.com/matplotlib/matplotlib/commit
> /98ee4e991ae142622f3814db193b75236eb77cea#src/ft2font.cpp


Hmm, strange...

It isn't even in master right now.  The last changes to it were by Michael
Droettboom (commit 6b643862) in June of 2010, but the commit you are
pointing to was done in March of 2011... this needs more investigating.

Ben Root
--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] ft2font.cpp memory fix patch not in 1.1.x branch

2011-12-01 Thread Benjamin Root
On Thu, Dec 1, 2011 at 10:14 AM, Benjamin Root  wrote:

> On Thu, Dec 1, 2011 at 9:29 AM, Neilen Marais  wrote:
>
>> https://github.com/matplotlib/matplotlib/commit
>> /98ee4e991ae142622f3814db193b75236eb77cea#src/ft2font.cpp
>
>
> Hmm, strange...
>
> It isn't even in master right now.  The last changes to it were by Michael
> Droettboom (commit 6b643862) in June of 2010, but the commit you are
> pointing to was done in March of 2011... this needs more investigating.
>
> Ben Root
>
>
Strange, I could have sworn that I rebased my master branch correctly.
Now, the fix is showing in master.  Well, now that that has been resolved,
I guess we can just simply cherry-pick that commit into v1.1.x?

Ben Root
--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Map projections and pyplot.plot

2011-12-01 Thread Jeff Whitaker
On 12/1/11 7:34 AM, Bruce Ford wrote:
> I have a basemap figure where data is placed atop, which can be in any 
> number of differing projections.  However, when I plot a line over it 
> using pyplot.plot, the line doesn't show unless I'm using 
> the cylindrical equidistant projection.
>
> From what I gather this is a limitation of the plot command.  Can 
> anyone confirm this?  Is this a limitation in that the 'cyl' 
> projection is assumed by pyplot.plot?
>
> I saw a post that mentioned that a projection kwarg would not be added 
> to the plot command.  Does this mean that the plot command will 
> realize the projection of the gca basemap?
>
> Bruce
>
> ---
> Bruce W. Ford

Bruce:  Did you convert the coordinates of the data you're plotting with 
pyplot.plot to map projection coordinates (by passing the lat/lon values 
to the Basemap instance)?

-Jeff

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Map projections and pyplot.plot

2011-12-01 Thread Bruce Ford
Yes, as a matter of fact I create an identical basemap object as the
plotted gridded data.  And the lines (tropical cyclone tracks) plot fine as
long as the projection is 'cyl'.

Bruce

---
Bruce W. Ford
Clear Science, Inc.
br...@clearscienceinc.com
http://www.ClearScienceInc.com
http://www.facebook.com/clearscience
http://www.twitter.com/ROVs_rule
Phone: (904) 796-8101
Fax:  (904) 379-9704
8241 Parkridge Circle N.
Jacksonville, FL  32211
Skype:  bruce.w.ford




On Thu, Dec 1, 2011 at 12:35 PM, Jeff Whitaker  wrote:

> On 12/1/11 7:34 AM, Bruce Ford wrote:
>
>> I have a basemap figure where data is placed atop, which can be in any
>> number of differing projections.  However, when I plot a line over it using
>> pyplot.plot, the line doesn't show unless I'm using the cylindrical
>> equidistant projection.
>>
>> From what I gather this is a limitation of the plot command.  Can anyone
>> confirm this?  Is this a limitation in that the 'cyl' projection is assumed
>> by pyplot.plot?
>>
>> I saw a post that mentioned that a projection kwarg would not be added to
>> the plot command.  Does this mean that the plot command will realize the
>> projection of the gca basemap?
>>
>> Bruce
>>
>> --**-
>> Bruce W. Ford
>>
>
> Bruce:  Did you convert the coordinates of the data you're plotting with
> pyplot.plot to map projection coordinates (by passing the lat/lon values to
> the Basemap instance)?
>
> -Jeff
>
--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Map projections and pyplot.plot

2011-12-01 Thread Jeff Whitaker

On 12/1/11 11:39 AM, Bruce Ford wrote:
Yes, as a matter of fact I create an identical basemap object as the 
plotted gridded data.  And the lines (tropical cyclone tracks) plot 
fine as long as the projection is 'cyl'.


Bruce


Bruce:  Can you post a self-contained example?

-Jeff






On Thu, Dec 1, 2011 at 12:35 PM, Jeff Whitaker > wrote:


On 12/1/11 7:34 AM, Bruce Ford wrote:

I have a basemap figure where data is placed atop, which can
be in any number of differing projections.  However, when I
plot a line over it using pyplot.plot, the line doesn't show
unless I'm using the cylindrical equidistant projection.

From what I gather this is a limitation of the plot command.
 Can anyone confirm this?  Is this a limitation in that the
'cyl' projection is assumed by pyplot.plot?

I saw a post that mentioned that a projection kwarg would not
be added to the plot command.  Does this mean that the plot
command will realize the projection of the gca basemap?

Bruce

---
Bruce W. Ford


Bruce:  Did you convert the coordinates of the data you're
plotting with pyplot.plot to map projection coordinates (by
passing the lat/lon values to the Basemap instance)?

-Jeff





--
Jeffrey S. Whitaker Phone  : (303)497-6313
Meteorologist   FAX: (303)497-6449
NOAA/OAR/PSD  R/PSD1Email  : jeffrey.s.whita...@noaa.gov
325 BroadwayOffice : Skaggs Research Cntr 1D-113
Boulder, CO, USA 80303-3328 Web: http://tinyurl.com/5telg

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users