Re: [R] Having a relative x-axis in a plot

2013-11-12 Thread Adams, Jean
You could use a slider to move along the x-axis looking at your data in the specified window width. Below is an example with some fake data. library(rpanel) # some fake data myx <- 623+1:1000 myy <- 0.01*myx + rnorm(1000) # width of viewing window mywindow <- 256 # plot the data with a slider

[R] Having a relative x-axis in a plot

2013-11-12 Thread Baro
I would like to have a relative x-axis in r. I am reading time seris from an excel file and I want to show in a plot and also I want to have a window which moves over the values. My aim ist to see which point belongs to which time(row number in excel file). i.e I am reading from 401th row in 1100t