multiple image plots
1
0
Entering edit mode
Naomi Altman ★ 6.0k
@naomi-altman-380
Last seen 2.9 years ago
United States
We would like to modify maImage to put multiple plots on a page. The call to "maImage.func" seems to start a new page. How can we overcome this? Naomi S. Altman 814-865-3791 (voice) Associate Professor Bioinformatics Consulting Center Dept. of Statistics 814-863-7114 (fax) Penn State University 814-865-1348 (Statistics) University Park, PA 16802-2111
• 789 views
ADD COMMENT
0
Entering edit mode
@vincent-j-carey-jr-4
Last seen 16 days ago
United States
On Wed, 1 Oct 2003, Naomi Altman wrote: > We would like to modify maImage to put multiple plots on a page. The call > to "maImage.func" seems to start a new page. How can we overcome this? There is an interdependence between the page layout activities and the value of the bar option on maImage. I find that if you have bar=FALSE, you can use, e.g., par(mfrow=c(2,2)) maImage(swirl[,3], x="maGb", bar=FALSE) maImage(swirl[,1], x="maPrintTip", bar=FALSE) ... to get a 2x2 layout of various sorts of displays. That's not to say this is the only way to accomplish this, but based on a quick look at the function, this is one possible way to proceed. if you really want the bar key in there, you will have to look more closely at the "layout" calls in the various functions. i believe it will be hard to have multiple images with bar keys on a single plot owing to margin restrictions. this aspect of R needs further work. the design of the maImage functions could change a bit to better respect the user's global page layout (if there is one)... but this may make the code considerably more complex.
ADD COMMENT

Login before adding your answer.

Traffic: 699 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6