search for: tkrreplot

Displaying 9 results from an estimated 9 matches for "tkrreplot".

2006 Jul 29
1
fancier plotting
...krplot(tt, f1,hscale=2,vscale=1.2) tkconfigure(img, cursor='crosshair') f2 <- function(...){ ol <- as.numeric(tclvalue(oldleft)) tclvalue(oldleft) <- tclvalue(left) r <- as.numeric(tclvalue(right)) tclvalue(right) <- as.character(r + as.numeric(...) - ol) tkrreplot(img) } f3 <- function(...){ tkrreplot(img) } f4 <- function(...){ i <- 100 ol <- as.numeric(tclvalue(oldleft)) tclvalue(left) <- as.character(ol+i) tclvalue(oldleft) <- as.character(ol+i) r <- as.numeric(tclvalue(right)) tclvalue(right) <- as.character(r+i)...
2006 Apr 17
0
autoscall the y-axis
...t, f1,hscale=2,vscale=1.2) tkconfigure(img, cursor='crosshair') f2 <- function(...){ ol <- as.numeric(tclvalue(oldleft)) tclvalue(oldleft) <- tclvalue(left) r <- as.numeric(tclvalue(right)) tclvalue(right) <- as.character(r + as.numeric(...) - ol) tkrreplot(img) } f3 <- function(...){ tkrreplot(img) } f4 <- function(...){ ol <- as.numeric(tclvalue(oldleft)) tclvalue(left) <- as.character(ol+10) tclvalue(oldleft) <- as.character(ol+10) r <- as.numeric(tclvalue(right)) tclvalue(right) <- as.char...
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
2003 May 06
4
bitmap images in tcltk
Dear R-help list members, I'm writing a package using tcltk. Thanks to Peter Dalgaard's excellent work on the tcltk package, almost everything has gone very smoothly. I'm stymied, however, by the following problem: I want to incorporate a bitmap image, stored as an xbm file, in a widget. To take a simple example, top <- tktoplevel() tkgrid(tklabel(top,
2012 Sep 09
1
Error msg in rpanel
...s.character(panel$nmbr1), "and" ,as.character(panel$nmbr2)) } plot(1:10, 1:10, type="n", xlab="", ylab="", axes=FALSE, frame = TRUE) text(5, 5, paste("Result: ", val),cex=1.4) panel } my.redraw <- function(panel) { rp.tkrreplot(panel, my.tkrplot) panel } my.panel <- rp.control(title = "Addition") rp.textentry(panel = my.panel, var = nmbr1, labels = "First: ", action = my.redraw, initval="100") rp.textentry(panel = my.panel, var = nmbr2, labels...
2007 Apr 18
5
Problem with ?curve
Dear all R gurus, I have following syntax: y = c(1:10) chippy <- function(x) { y[5] = x sin(cos(t(y)%*%y)*exp(-t(y)%*%y/2)) } curve(chippy, 1, 20, n=200) But I am getting error while executing : Error in xy.coords(x, y, xlabel, ylabel, log) : 'x' and 'y' lengths differ In addition: Warning message: number of items to
2007 Aug 28
7
Excel
A common process when data is obtained in an Excel spreadsheet is to save the spreadsheet as a .csv file then read it into R. Experienced users might have learned to be wary of dates (as I have) but possibly have not experienced what just happened to me. I thought I might just share it with r-help as a cautionary tale. I received an Excel file giving patient details. Each patient had an ID