Hello everybody,
I have a problem transferring from 3D data to a 2D representation.
I used mayavi to define a cut plane through a volume data set and got
the xyz
coordinates for the points on the plane and the data at each point.
Now I would like to make a contour plot of that data in matplotlib
On Sun, Jan 29, 2012 at 10:10 PM, C M wrote:
>
>
> On Wed, Jan 4, 2012 at 2:19 PM, Benjamin Root wrote:
>
>>
>>
>> On Wednesday, January 4, 2012, jeffsp wrote:
>> >
>> > plt.tight_layout(), sweet
>> >
>> > it still makes the labels too close to read, even if they don't overlap.
>> > that is, th
Hi Nicolas
Thanks for the post. I'm going to finish optimizing all of the
non-rendering pieces of my code, then I'll see if trying the hardware
rendering makes sense. Right now I am software rendering 3.5 million
triangles in about 5 seconds, but the setup (masking etc) is taking
about 40.
nahren manuel wrote:
>
> Hello ,
> I have a two dimensional array, 40X20(rowsXcolumns). Each of the 40 rows
> themselves hold values of the bins of a distribution (which is not always
> normal, can expect a bimodal curve as well)
>
> It is little difficult to explain to I actually created a sam
On Mon, Jan 30, 2012 at 12:32 PM, Daryl Herzmann wrote:
> On Sun, Jan 29, 2012 at 10:10 PM, C M wrote:
> > If I use the DateFormatter, like this:
> >
> > mydateformatter =
>
> >
> > I'll get dates like (note the time part):
> >
> > Nov 27 2011
> > 03:00 PM
> >
> > Instead, I'd like to lose the z
On Sun, Jan 29, 2012 at 10:10 PM, C M wrote:
> If I use the DateFormatter, like this:
>
> mydateformatter =
>
> I'll get dates like (note the time part):
>
> Nov 27 2011
> 03:00 PM
>
> Instead, I'd like to lose the zero on times, like:
>
> Nov 27 2011
> 3:00 PM
>
> Is there a way to do that?
On 1/30/12 3:50 PM, Fabien Lafont wrote:
> Hello,
>
> Do somebody knows how to keep only the x first terms of a numpy 1D array?
>
> like
>
> a = array([8,4,5,7,9])
> function(a,2)
[8,4]
These questions belong on the numpy mailing list. You have already asked this
question on scipy-user and r
Hello,
Do somebody knows how to keep only the x first terms of a numpy 1D array?
like
a = array([8,4,5,7,9])
function(a,2)
>>> [8,4]
--
Try before you buy = See our experts in action!
The most comprehensive online learn
David Craig :
> Hi, thanks for that. I've made the following changes:
>
> NFFT = 100*60*10# Linked to window size
> Fs = stream[0].stats.sampling_rate
> win = np.hanning(NFFT)
> overlap = NFFT/2
> power, freq = plt.psd(data, NFFT, Fs, win, overlap)
>
> but it returns the following error:
>
Le lundi 30 janvier 2012 à 13:34 +, David Craig a écrit :
> Hi, thanks for that. I've made the following changes:
>
> NFFT = 100*60*10# Linked to window size
> Fs = stream[0].stats.sampling_rate
> win = np.hanning(NFFT)
> overlap = NFFT/2
> power, freq = plt.psd(data, NFFT, Fs, win, ov
Hi, thanks for that. I've made the following changes:
NFFT = 100*60*10# Linked to window size
Fs = stream[0].stats.sampling_rate
win = np.hanning(NFFT)
overlap = NFFT/2
power, freq = plt.psd(data, NFFT, Fs, win, overlap)
but it returns the following error:
Traceback (most recent call las
Le lundi 30 janvier 2012 à 11:45 +, David Craig a écrit :
> Hi I have some data for a 24hr period with a sample rate of 100
> samples/second. I want to create a power spectrum using matplotlibs
> function psd. I want it to have 10 minute windows with a 50% overlap,
> but cant seem to get the sy
Hi I have some data for a 24hr period with a sample rate of 100
samples/second. I want to create a power spectrum using matplotlibs
function psd. I want it to have 10 minute windows with a 50% overlap, but
cant seem to get the syntax right. My code is as follows:
NFFT = len(data)
Fs = 100
window=n
Hi
Thank you very much, it worked perfectly :D
Kind regards
Pål
On 27 January 2012 15:29, Tony Yu wrote:
>
>
> On Fri, Jan 27, 2012 at 9:13 AM, Pål Gunnar Ellingsen wrote:
>
>> Hi
>>
>> I have a array, M, which is (4Nx4M), and an array (image), im, which is
>> NxM.
>> I can currently plot the
14 matches
Mail list logo