>> and I am getting this error:
>>
>> TypeError: You must first set_array for mappable
>>
>> Can anyone provide guidance on how you overlay quiver plots on top of
>> contours?
>
>
> This list is for newcomers to Python and its standard
> library. This looks like a fairly specific SciPy/Numpy,
> and
On 26/01/15 23:24, Felisha Lawrence wrote:
Hello,
I have the following script:
import netCDF4
import numpy as np
import matplotlib.pyplot as plt
import pylab
...
and I am getting this error:
TypeError: You must first set_array for mappable
Can anyone provide guidance on how you overlay quive
Hello,
I have the following script:
import netCDF4
import numpy as np
import matplotlib.pyplot as plt
import pylab
ncfile = netCDF4.Dataset('30JUNE2012_0300UTC.cdf', 'r')
dbZ = ncfile.variables['MAXDBZF']
data = dbZ[0,0]
data.shape
x = np.array([0,10,11])
y = np.array([0,15,16])
X,Y = np.meshgri
| From: Shi Mu
| Is there any sample code to calculate the overlaid area between two
| polygons?
| Thanks!
|
The polygon module at (
http://www.dezentral.de/warp.html?http://www.dezentral.de/soft/Polygon/ ) was
found by googling for "polygon module python". If by "overlay" you mean the
area
I would do this by clipping the two polygons together, and then
calculating the area of the resultant polygon.
You can do that using the Weiler-Atherton polygon clipping algorithm,
which is rather common.
Glen
From: "Shi Mu" <[EMAIL PROTECTED]>
> Is there any sample code to calculate th
Is there any sample code to calculate the overlaid area between two polygons?
Thanks!
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor