Displaying 5 results from an estimated 5 matches for "oldleft".
2006 Jul 29
1
fancier plotting
...t I have no clue how to inject the extra fancies.
****************************************************************
###########
# ploting #
###########
library(tkrplot)
#just the turning points
L <- length(I0); #points to plot
tt <- tktoplevel()
left <- tclVar(1)
oldleft <- tclVar(1)
right <- tclVar(L)
cury <- tclVar(' ')
curx <- NA
tmpusr <- numeric(4)
tmpplt <- numeric(4)
f1 <- function(){
lleft <- as.numeric(tclvalue(left))
rright <- as.numeric(tclvalue(right))
x <- seq(lleft,rright,by=1)
par(bg='black', fg=...
2006 Apr 17
0
autoscall the y-axis
...lp from
"Gregory (Greg) L. Snow Ph.D."
just stated with tcl/tk and waiting for the book to arrive.
thank you
#**************** code starts ****************
library(tkrplot)
L <- length(myData);
tt <- tktoplevel()#cursor='crosshair')
left <- tclVar(1)
oldleft <- tclVar(1)
right <- tclVar(L)
cury <- tclVar(' ')
curx <- NA
tmpusr <- numeric(4)
tmpplt <- numeric(4)
f1 <- function(){
lleft <- as.numeric(tclvalue(left))
rright <- as.numeric(tclvalue(right))
x <- seq(lleft,rright,by=1)
par(bg='blac...
2007 Sep 13
1
smooth scrolling with windows() function
Hi,
I have a large plot that I would like to display in a graphics device with
scroll bars. I therefore decided to use the windows function like so...
mag<- length(tick)
windows(height=mag/8, width=10, rescale="fixed")
However, when I use the scroll bars the device (i guess) is re-drawing the
plot. Is there any way in which I can get it to 'smooth scroll'?
Kind regards,
2006 Mar 20
3
create a gui with a button to change graphic?
Hello everybody,
I am wondering if it is possible to create a gui to plot a time series
that is very big, it's an EEG signal of 20mins. What I would like to do
is plot the first 5mins, then have a button on the gui that plots the
next 5mins when pushed.
Is it possible?
Thanks in advance !
Gael.
2006 Mar 27
3
graphing and scrolling
Dear R users
graphing with plot(x) seams to work for a small length(x), when length(x) is too large it seams to clutter the display, a solution would be to display subsets of x at a time, yet a better way which I hope R supports is to place a sliding bar on the display window to control length(x) and thus the resolution, which will involve auto scaling the y axis as well as automatically