[R] Interactive Plot in R?

2012-05-19 Thread corn
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=title) (modifieddate is the values for the date on the x axis) The aim now is, that I want to do a Latex Presentation, where if

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=title)

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 erich.neuwi...@univie.ac.at: 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

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

2010-02-16 Thread Megh
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 sample size (n) from a standard normal distribution.

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 (histogram) in R..........possible?

2010-02-16 Thread Greg Snow
Intermountain Healthcare greg.s...@imail.org 801.408.8111 -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- project.org] On Behalf Of Megh Sent: Tuesday, February 16, 2010 2:44 PM To: r-help@r-project.org Subject: [R] Interactive plot (histogram) in R

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 PROTECTED]

[R] Interactive plot

2008-07-24 Thread Megh Dal
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 everything works fine, but the problaem is

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

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] Cc: [EMAIL PROTECTED] Date

Re: [R] Interactive plot

2008-07-24 Thread Duncan Murdoch
: 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) plott = function(x) { return

Re: [R] Interactive plot

2008-07-24 Thread David Scott
? Not 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, 2008, 5:42 PM On 7

Re: [R] Interactive plot

2008-06-30 Thread Greg Snow
] Subject: [R] Interactive plot Hi all, I have created following codes : mat = cbind(c(0.59710430,0.23057380), c(0.23057380, 0.5971089)) set.seed = 1000 vary = runif(dim(mat)[1], 2000, 3000) calc = function(mat, vary) { result = vector(length = (length(vary)+1

Re: [R] Interactive plot

2008-06-29 Thread Gabor Grothendieck
Andronic [EMAIL PROTECTED] wrote: From: Liviu Andronic [EMAIL PROTECTED] Subject: Re: [R] Interactive plot To: Ron Michael [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Date: Sunday, 29 June, 2008, 7:46 PM On 6/29/08, Ron Michael [EMAIL PROTECTED] wrote: Now I want to present the plot in some

Re: [R] Interactive plot

2008-06-29 Thread Ron Michael
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 runtime: http

Re: [R] Interactive plot

2008-06-29 Thread Ron Michael
  --- 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, whenever I try to load the playwith package I am getting

Re: [R] Interactive plot

2008-06-29 Thread Gabor Grothendieck
: Re: [R] Interactive plot To: Gabor Grothendieck [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Date: Sunday, 29 June, 2008, 11:48 PM Hi, whenever I try to load the playwith package I am getting following warning : library(playwith) Loading required package: lattice Loading required package

Re: [R] Interactive plot

2008-06-29 Thread Ron Michael
in GtkToolButton, GtkToolItem, GtkBin, GtkContainer, GtkWidget, GtkObject, GInitiallyUnowned, GObject, RGtkObject     Any idea how to fix that?   --- On Mon, 30/6/08, Gabor Grothendieck [EMAIL PROTECTED] wrote: From: Gabor Grothendieck [EMAIL PROTECTED] Subject: Re: [R] Interactive plot To: [EMAIL

Re: [R] Interactive plot

2008-06-29 Thread Gabor Grothendieck
Grothendieck [EMAIL PROTECTED] wrote: From: Gabor Grothendieck [EMAIL PROTECTED] Subject: Re: [R] Interactive plot To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Date: Monday, 30 June, 2008, 12:30 AM In ?playwith the third example seems pretty close to what you want. Here it is changed to correspond

[R] Interactive plot

2008-06-28 Thread Ron Michael
Hi all, I have created following codes : mat = cbind(c(0.59710430,0.23057380), c(0.23057380, 0.5971089)) set.seed = 1000 vary = runif(dim(mat)[1], 2000, 3000) calc = function(mat, vary) { result = vector(length = (length(vary)+1)) result[1] = sqrt(t(vary) %*% vary)