Re: [Rpy] specify xlim for hist()

2010-11-03 Thread Denham Robert
I had a look at this, and hist did some very weird things for me in rpy2, plotted a lot of numbers over the top of the histogram. I had better luck with histogram from the package lattice. I was wondering, do you want a histogram of the values in d that fall between 200 and 2000? If so, you proba

Re: [Rpy] [R] NFFT on a Zoo?

2010-11-03 Thread Bob Cunningham
On 11/03/2010 12:27 PM, Gabor Grothendieck wrote: > On Wed, Nov 3, 2010 at 2:59 PM, Bob Cunningham wrote: > >> I have an irregular time series in a Zoo object, and I've been unable to >> find any way to do an FFT on it. More precisely, I'd like to do an NFFT >> (non-equispaced / non-uniform t

[Rpy] NFFT on a Zoo?

2010-11-03 Thread Bob Cunningham
I have an irregular time series in a Zoo object, and I've been unable to find any way to do an FFT on it. More precisely, I'd like to do an NFFT (non-equispaced / non-uniform time FFT) on the data. The data is timestamped samples from a cheap self-logging accelerometer. The data is weakly reg

[Rpy] specify xlim for hist()

2010-11-03 Thread Matthew MacManes
Hi All, Can anybody tell me how I can set xlim for a histogram, the catch is that the xlim I want does not cover the entire range of x values... The snippet of R code I am trying to recreate in rpy2: hist(V1,breaks=100, xlim=c(200,7200)) With rpy2, I can do something like: graphics.hist(d, r_bas