[R] multiple plot devices

ozric@web.de ozric at web.de
Tue Apr 16 16:18:01 CEST 2002


....yes i know and normally "playing"  a little bit with the commands in R get a positive insight and result.
But my attempts with dev.*  and windows()  are until now negative,
but it can't be so difficult !?

thanks & regards,Christian

>
>There is a section in `An Introduction to R' on `Multiple graphics
>devices', so I don't know what you looked at but that was the most obvious
>place to look.
>
>See also
>
>?dev.cur `Control Multiple Devices'
>
>
>> When is use the function  only the graphic device of the last variable is open.
>> How is it possible to let the several plot-device open or save this in a file with different names ?
>> (win 2000 - R1.4.1)
>>
>> thanks for advance
>> & regards,Christian
>>
>> normal <- function(x) {
>>     par(mfrow=c(2,2))
>>     hist(x)
>>     boxplot(x)
>>     sd <- summary(x)[5] - summary(x)[2]
>>     plot(density(x,width=2*sd),xlab="x",ylab="",type="l")
>>     qqnorm(x)
>>     qqline(x)
>>     }
>> apply(data,2,normal)
>
>?density will show you better bandwidth selectors than that one, including
>the default (and we do suggest you use `bw' not `width').
>
>--
>Brian D. Ripley,                  ripley at stats.ox.ac.uk
>Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
>University of Oxford,             Tel:  +44 1865 272861 (self)
>1 South Parks Road,                     +44 1865 272860 (secr)
>Oxford OX1 3TG, UK                Fax:  +44 1865 272595
>
>
________________________________________________________________
Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr! 



-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list