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
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
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
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
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
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
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)
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]
&
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
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
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
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 `[
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
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,
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
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]>
>
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
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
18 matches
Mail list logo