[Matplotlib-users] FW: matplotlib

2010-04-07 Thread Padma TAN
Hi, We have an error when running python matplotlib. Please assist. Thanks in advance! :) [cheung...@changeme:/home/cheungcwe/CB3] python Python 2.6.2 (r262:71600, Sep 15 2009, 01:44:49) [GCC 4.1.2 20080704 (Red Hat 4.1.2-44)] on linux2 Type help, copyright, credits or license for more

Re: [Matplotlib-users] FW: matplotlib

2010-04-07 Thread Darren Dale
On Wed, Apr 7, 2010 at 4:09 AM, Padma TAN ta...@gis.a-star.edu.sg wrote: Hi, We have an error when running python matplotlib. Please assist. Thanks in advance! J [cheung...@changeme:/home/cheungcwe/CB3] python Python 2.6.2 (r262:71600, Sep 15 2009, 01:44:49) [GCC 4.1.2 20080704 (Red Hat

Re: [Matplotlib-users] FW: matplotlib

2010-04-07 Thread Sandro Tosi
Hello, On Wed, Apr 7, 2010 at 10:09, Padma TAN ta...@gis.a-star.edu.sg wrote: Hi, We have an error when running python matplotlib. Please assist. Thanks in advance! J [cheung...@changeme:/home/cheungcwe/CB3] python Python 2.6.2 (r262:71600, Sep 15 2009, 01:44:49) [GCC 4.1.2 20080704

Re: [Matplotlib-users] EPS files with LaTeX are invalid

2010-04-07 Thread Jae-Joon Lee
I tried to take a look but, pstopdf in my linux box works okay (it converted test_tex_r8216.eps fine also) and I'm afraid that I may not be able to track this down. Just in case, can you check if using a different distiller makes any difference? I believe you're using a ghostscript (or none

[Matplotlib-users] display a filled lat/lon basemap rectangle.

2010-04-07 Thread Yeates, Mathew C (388D)
Hi What is the simplest way to fill in a 1 degree by 1 degree rectangle on a basemap projection? Mathew -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs

Re: [Matplotlib-users] display a filled lat/lon basemap rectangle.

2010-04-07 Thread Jeff Whitaker
Yeates, Mathew C (388D) wrote: Hi What is the simplest way to fill in a 1 degree by 1 degree rectangle on a basemap projection? Mathew Mathew: Try this (for a 10x10 rectangle, but you get the idea) from matplotlib.patches import Polygon import matplotlib.pyplot as plt from

Re: [Matplotlib-users] display a filled lat/lon basemap rectangle.

2010-04-07 Thread Mathew Yeates
I think this will only work with some projections but not all. I looked at the code for tissot. It's pretty hairy but it almost does what I want. (It draws projected circles instead of projected rectangles. On Wed, Apr 7, 2010 at 1:54 PM, Jeff Whitaker jsw...@fastmail.fm wrote: Yeates, Mathew

[Matplotlib-users] Using FIFOBuffer

2010-04-07 Thread Conrad Krieg
Does anyone have a simple FIFOBuffer example they can post to this list? Thanks! Conrad NOTICE: This email may contain confidential information. Please see http://www.meyersound.com/confidential/ for our complete policy.

Re: [Matplotlib-users] display a filled lat/lon basemap rectangle.

2010-04-07 Thread Jeff Whitaker
Mathew Yeates wrote: I think this will only work with some projections but not all. I looked at the code for tissot. It's pretty hairy but it almost does what I want. (It draws projected circles instead of projected rectangles. Mathew: You said you wanted a NxN degree polygon - that's what

Re: [Matplotlib-users] display a filled lat/lon basemap rectangle.

2010-04-07 Thread Mathew Yeates
lets say I want to shade the area with lat/lon corners 34.-117 and 35,-116 but my map was created with projection='aeqd' The shade area will not be a rectangle. In fact the edges will be curved. See the basemap code for tissot. I think every point on the boundary of the lat/lon box has to

Re: [Matplotlib-users] display a filled lat/lon basemap rectangle.

2010-04-07 Thread Jeff Whitaker
Mathew Yeates wrote: lets say I want to shade the area with lat/lon corners 34.-117 and 35,-116 but my map was created with projection='aeqd' The shade area will not be a rectangle. In fact the edges will be curved. See the basemap code for tissot. I think every point on the boundary