Re: [R] Interactive Plot in R?

2012-05-19 Thread corn
mh, I have read about the package before, but it does not help me a much I dont know how to do this? Zitat von Erich Neuwirth : You might want to give the packages animation a try. On May 19, 2012, at 11:47 AM, c...@mail.tu-berlin.de wrote: Hi, I want to do an interactive plot in R: I ha

Re: [R] Interactive Plot in R?

2012-05-19 Thread Erich Neuwirth
You might want to give the packages animation a try. On May 19, 2012, at 11:47 AM, c...@mail.tu-berlin.de wrote: > Hi, > I want to do an interactive plot in R: > I have a time series and I can plot it in the normal way: > > plot(modifieddate,timeseries,type="l",xlab="Date",ylab="values", main="ti

Re: [R] Interactive plot (histogram) in R..........possible?

2010-02-16 Thread Greg Snow
This can be done fairly simply using the tkexamp function from the TeachingDemos package. Here are some examples: library(TeachingDemos) histfunc <- function(n, mu=0, sigma=1) { x <- rnorm(n, mu, sigma) hist(x) } hist.list1 <- list( n=list('slider', from=10, to=1, resolutio

Re: [R] Interactive plot (histogram) in R..........possible?

2010-02-16 Thread David Winsemius
On Feb 16, 2010, at 4:44 PM, Megh wrote: Dear all, I am looking for some kind of interactive plot to draw a histogram for a normal distribution with different sample size. In that plot there would be some sort of "scroll-bar" which will take min value 10 and maximum value of 10,000 as

Re: [R] Interactive plot using playwith() and abline

2008-07-25 Thread Felix Andrews
Indeed, the call you pass to playwith() must be a self-contained plot function. Try one of these: playwith( {plot(x,y); abline(lm(y~x)} ) playwith(plot(x,y, panel.last=abline(lm(y~x playwith(xyplot(y ~ x, type=c("p", "r"))) On Sat, Jul 26, 2008 at 1:52 AM, Christoph Scherber <[EMAIL PROTEC

Re: [R] Interactive plot

2008-07-24 Thread David Scott
really. Just try them both, the differences are obvious. Duncan Murdoch --- On Thu, 7/24/08, Duncan Murdoch <[EMAIL PROTECTED]> wrote: From: Duncan Murdoch <[EMAIL PROTECTED]> Subject: Re: [R] Interactive plot To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Date: Thursday, July 24, 2

Re: [R] Interactive plot

2008-07-24 Thread Duncan Murdoch
From: Duncan Murdoch <[EMAIL PROTECTED]> Subject: Re: [R] Interactive plot To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Date: Thursday, July 24, 2008, 5:42 PM On 7/24/2008 7:34 AM, Megh Dal wrote: > I have created following interactive plot : > > library(TeachingDemos)

Re: [R] Interactive plot

2008-07-24 Thread Megh Dal
Thanks for this. Can you please explain me what are those MDI and SDI and the diff in laymans language? --- On Thu, 7/24/08, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > From: Duncan Murdoch <[EMAIL PROTECTED]> > Subject: Re: [R] Interactive plot > To: [EMAIL PROTECTED] &

Re: [R] Interactive plot

2008-07-24 Thread Duncan Murdoch
On 7/24/2008 7:34 AM, Megh Dal wrote: I have created following interactive plot : library(TeachingDemos) plott = function(x) { return(hist(rnorm(as.integer(1000, 10, x)), xlab=NA)) } tkexamp(plott, list(x=list('slider',from=1,to=40, resolution=0.1, init=2)), plotloc='top') Here every

Re: [R] Interactive plot

2008-06-30 Thread Greg Snow
Here is a way that works for me using tkexamp in the TeachingDemos package (which uses tkrplot internally): calc2 <- function(mat, vary1=0, vary2=0) calc(mat, c(vary1,vary2)) library(TeachingDemos) tkexamp( calc2(mat, vary2=vary[2]), list(vary1=list('slider',from=0,to=4000, resolution=10

Re: [R] Interactive plot

2008-06-29 Thread Gabor Grothendieck
ew plot > region with the mouse") : > Cannot find 'tooltip-text' to set in GtkToolButton, GtkToolItem, GtkBin, > GtkContainer, GtkWidget, GtkObject, GInitiallyUnowned, GObject, RGtkObject > Error in `[[<-.GObject`(`*tmp*`, "tooltip-text", value = "Zoom out to sho

Re: [R] Interactive plot

2008-06-29 Thread Ron Michael
ject, RGtkObject Error in `[[<-.GObject`(`*tmp*`, "tooltip-text", value = "Zoom out to show 4x plot area") :   Cannot find 'tooltip-text' to set in GtkToolButton, GtkToolItem, GtkBin, GtkContainer, GtkWidget, GtkObject, GInitiallyUnowned, GObject, RGtkObject Error in `[

Re: [R] Interactive plot

2008-06-29 Thread Gabor Grothendieck
ot or > TeachingDemos ? > > > > > --- On Sun, 29/6/08, Ron Michael <[EMAIL PROTECTED]> wrote: > > From: Ron Michael <[EMAIL PROTECTED]> > Subject: Re: [R] Interactive plot > To: "Gabor Grothendieck" <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECT

Re: [R] Interactive plot

2008-06-29 Thread Ron Michael
TeachingDemos ?     --- On Sun, 29/6/08, Ron Michael <[EMAIL PROTECTED]> wrote: From: Ron Michael <[EMAIL PROTECTED]> Subject: Re: [R] Interactive plot To: "Gabor Grothendieck" <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Date: Sunday, 29 June, 2008, 11:48 PM Hi,

Re: [R] Interactive plot

2008-06-29 Thread Ron Michael
ell me why I am getting that warning? --- On Sun, 29/6/08, Gabor Grothendieck <[EMAIL PROTECTED]> wrote: From: Gabor Grothendieck <[EMAIL PROTECTED]> Subject: Re: [R] Interactive plot To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Date: Sunday, 29 June, 2008, 8:18 PM Install the GTK

Re: [R] Interactive plot

2008-06-29 Thread Gabor Grothendieck
load failed for 'playwith' > > What to do? > > --- On Sun, 29/6/08, Liviu Andronic <[EMAIL PROTECTED]> wrote: > > From: Liviu Andronic <[EMAIL PROTECTED]> > Subject: Re: [R] Interactive plot > To: "Ron Michael" <[EMAIL PROTECTED]> >

Re: [R] Interactive plot

2008-06-29 Thread Ron Michael
y/RGtk2/libs/RGtk2.dll':   LoadLibrary failure:  The specified module could not be found. Error: package/namespace load failed for 'playwith' What to do? --- On Sun, 29/6/08, Liviu Andronic <[EMAIL PROTECTED]> wrote: From: Liviu Andronic <[EMAIL PROTECTED]> Subje

Re: [R] Interactive plot

2008-06-29 Thread Liviu Andronic
On 6/29/08, Ron Michael <[EMAIL PROTECTED]> wrote: > Now I want to present the plot in some interactive manner. I want to put a > slider in the plot where user move the slider for the 1st element of the > vector "vary" and automatically this result will be reflected at the plot > window. > play