Re: [R] Interactive plot

From: David Scott <d.scott_at_auckland.ac.nz>
Date: Fri, 25 Jul 2008 09:37:58 +1200 (NZST)

Googling MDI gives a wikipedia entry in the first place which should explain things.

David Scott

On Thu, 24 Jul 2008, Duncan Murdoch wrote:

> On 7/24/2008 8:24 AM, Megh Dal wrote:
>> Thanks for this. Can you please explain me what are those MDI and SDI and
>> the diff in laymans language?
>
> Not really. Just try them both, the differences are obvious.
>
> Duncan Murdoch
>
>>
>>
>> --- On Thu, 7/24/08, Duncan Murdoch <murdoch_at_stats.uwo.ca> wrote:
>>
>>> From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
>>> Subject: Re: [R] Interactive plot
>>> To: megh700004_at_yahoo.com
>>> Cc: r-help_at_stat.math.ethz.ch
>>> 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(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
>>> whenever I try to drag the slider the entire plot window
>>> goind behind the screen. Can anyone please tell me what
>>> should I do?
>>>
>>>
>>> It sounds as though you are using Windows, and running R in
>>> MDI mode. tcltk doesn't work very well in this mode. You really
>>> need to shrink the MDI frame and move the tcltk window outside of it, or
>>> run in SDI mode, where all windows are more or less equal.
>>>
>>> You can select SDI mode by putting --sdi on the command
>>> line, or from the Edit|GUI preferences dialog.
>>>
>>> Duncan Murdoch
>>
>>
>>
>
> ______________________________________________
> R-help_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>


David Scott	Department of Statistics, Tamaki Campus
 		The University of Auckland, PB 92019
 		Auckland 1142,    NEW ZEALAND
Phone: +64 9 373 7599 ext 86830		Fax: +64 9 373 7000
Email:	d.scott_at_auckland.ac.nz

Graduate Officer, Department of Statistics Director of Consulting, Department of Statistics



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Thu 24 Jul 2008 - 21:47:19 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 24 Jul 2008 - 22:32:27 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive