for testing learning purposes I create X11 device and specify layout like
layout(c(1,2,3), 3, 1), so I could play with parameters and see
several plots at the same time. That works fine until I try to create 4-th
plot - all other plots erased.
That's expected behaviour: you asked
On Thu, 1 Apr 2004 15:38:54 +0400 (MSD), Oleg Bartunov
[EMAIL PROTECTED] wrote :
Hello,
for testing learning purposes I create X11 device and specify layout like
layout(c(1,2,3), 3, 1), so I could play with parameters and see
several plots at the same time. That works fine until I try to create
On Thu, 1 Apr 2004, Philipp Pagel wrote:
for testing learning purposes I create X11 device and specify layout like
layout(c(1,2,3), 3, 1), so I could play with parameters and see
several plots at the same time. That works fine until I try to create 4-th
plot - all other plots erased.
On Thu, 1 Apr 2004, Duncan Murdoch wrote:
On Thu, 1 Apr 2004 15:38:54 +0400 (MSD), Oleg Bartunov
[EMAIL PROTECTED] wrote :
Hello,
for testing learning purposes I create X11 device and specify layout like
layout(c(1,2,3), 3, 1), so I could play with parameters and see
several plots at
The command:
layout(c(1,2,3), 3, 1) specifies 3 plots
Try
layout(1:4,2,2,byrow=T)
Regards,
Alex
-Original Message-
From: Oleg Bartunov [mailto:[EMAIL PROTECTED]
Sent: April 1, 2004 7:39 AM
To: R-help
Subject: [R] multiple plots problem
Hello,
for testing learning purposes I create
Have you considered using
?split.screen
and
?erase.screen
with a non-transparent background
instead of layout.
Example:
par(bg = white) # default is likely to be transparent
split.screen(c(3,1))# split display into three screens
screen(1)
plot(1:10)
screen(2)
plot(2:20)
screen(3)
interesting, it works, but still need to explicitly specify screen number.
It'b be nice to have tabbed canvas, but I suspect it's wrong list.
Oleg
On Thu, 1 Apr 2004, Angel Lopez wrote:
Have you considered using
?split.screen
and
?erase.screen
with a non-transparent background
Depends on what you understand by _explicitly_ specify screen number:
par(bg = white) # default is likely to be transparent
screenlist-split.screen(c(3,1))# split display into three
i-screenlist[1]
# Create a function to simulate the tabbing
nextplot-function(i)
{
i-i+1
if
Angel,
thanks for example, but I think you don't understand me - I was looking
native way to say R, please, don't erase canvas. Any emulations required
additional typing (so many in R! - readline is great, but no support for
prefix search as in bash)) and some attention
(don't forget to type
Correction:
I should have wrote
layout(matrix(c(1,2,3,4), 2, 2, byrow = TRUE))
Sorry
Alex
-Original Message-
From: Hanke, Alex [mailto:[EMAIL PROTECTED]
Sent: April 1, 2004 9:25 AM
To: 'Oleg Bartunov'; '[EMAIL PROTECTED]'
Subject: RE: [R] multiple plots problem
The command:
layout(c
On Thu, 1 Apr 2004 17:48:11 +0400 (MSD), Oleg Bartunov
[EMAIL PROTECTED] wrote :
On Thu, 1 Apr 2004, Duncan Murdoch wrote:
In Windows you can record all plots by using the record=TRUE option
when you open the graphics display, or from the menu on the display
window. You cycle back through
11 matches
Mail list logo