On Sep 23, 1:50 am, Nobody wrote:
> You can use arrays as indices, so applying a transformation to a set of
> index arrays (e.g. np.indices) then using those as indices is equivalent
> to applying a spatial transform to the data.
I am not sure that this would do the trick, e.g. for extracting a
On Tue, 21 Sep 2010 19:38:06 -0700, Raphaël Plasson wrote:
> Actually, I more precisely extract my 2D array from much higher
> dimensions data (i.e. 10-20 fields of different data in 3 dimensions
> of space+1 dimension of time), contained in a hdf5 file. I typically
> would like to extract arbitra
Hello,
after some computations, I obtain a 2D matrix of data, in a numpy
array. I can easily plot them using pyplot, and can easily extract
either vertical or horizontal slices by plotting a row or a column of
this matrix. I would like to be able to plot slices form this data
array, but with an ar