On 14 November 2012 21:05, Bror Jonsson brorl...@gmail.com wrote:
Dear all,
I'm trying to to show where one set of values have NaN's on the contour
plot of another set of values. I do this by creating a mask as such:
fld = randn(4,4)
fld[:2,:2] = np.nan
mask[mask==0] = np.nan
On my machine these are rather confusingly different functions, with the
latter corresponding to numpy.random.power. I appreciate that pylab
imports everything from both the numpy and numpy.random modules but
wouldn't it make sense if pylab.power were the oft-used power
function rather than a
Hi,
I have this issue, schematically:
import numpy as np
import matplotlib.pyplot as plt
x = np.linspace(0.0, a, b)
for i in range(d):
y1 = f1(x, p1_i, p2_i)
y2 = f2(x, p1_i, p2_i)
plt.scatter(x, y1, c=color[i])
plt.plot(x, y2, '-', c=color[i]
my question:
how
1. How to open excel file in python?
You can read excel files with the xlrd module : http://www.python-excel.org/
However, you may want to simply read your exported CSV files.
2. I would like to plot multiple line joining the positions of each of the
events, it is possible to do this? Have
On Thu, Nov 15, 2012 at 2:48 PM, Boris Vladimir Comi
gle...@comunidad.unam.mx wrote:
Hi all:
I have begun to learn about python / matplolib / basemap and really need some
help.
My data is in an Excel workbook in format .xls or csv(see attached):
1. How to open excel file in python?
2.
On Thu, Nov 15, 2012 at 3:24 PM, David Brunell quantal...@gmail.com wrote:
Hello Paul,
Thanks so much for your carefully-crafted reply. I had a hunch that it
would not be a simple matter. I'm using wxAgg for the backend.
I ended up using a Matplotlib widget cursor like this:
cursor =