Re: [R] Newbie error or bug?

2006-03-13 Thread Paul Vickers
d)") > lines(time, alias, lty=2, col="red") > points(undersamplingtimes, undersampled, pch=16) > abline(h=0) > > > > Uwe Ligges > > > > > Paul Vickers wrote: >> Hi >> >> I used R for the first time yesterday. I wanted to

[R] Newbie error or bug?

2006-03-13 Thread Paul Vickers
Hi I used R for the first time yesterday. I wanted to plot the aliasing effect of sampling a 5.5KHz sinusoid at only 8KHz (below the Nyquist limit). So I wrote a small R script that a) plots 1msec worth of a 5.5KHz sin wave b) plots 1msec of the resulting 2.5KHz alias and c) plots the 8 sampling