Skip to content

How to create axes in arbitrary positions?

1 message · Ben Bolker

#
Dear Zongshan Li,

  I'm forwarding this back to r-help ... it's generally best to keep the
conversation going in public, so that (a) other people can chime in with
ideas and suggestions, (b) your question doesn't get lost if the
original respondent doesn't have time to deal with it, (c) the answers
are archived for future reference.

  Your example (I've attached it, hope it makes it through but it may
not) helps.  Here is a crude example approximately along the same lines.
-------- Original Message --------
Subject: 	Re: [R-sig-eco] How to create axes in arbitrary positions?
Date: 	Sat, 2 Jan 2010 07:31:51 -0500
From: 	Zongshan Li <zongshan_li at yahoo.com>
To: 	Bolker,Benjamin Michael <bolker at ufl.edu>
References: 	<831079.35547.qm at web114002.mail.gq1.yahoo.com>
<4B3E3C40.9010306 at ufl.edu>



Dear Ben Bolker:
            I appeciate your introducing functions very much for my
question, and I am glad that your kindly intention to give me further help.
            I guess the function layout might draw plots at the
specified locations, but i still be confused about the exact meaning of
parameter: mat
             layout(mat, widths = rep(1, ncol(mat)), heights = rep(1,
nrow(mat)), respect = FALSE)
             the attached jpg file is an example of the kind of
graphics, and would you like to give me some comments how to draw this
kind of graphics in R?
             Thanks, again.

Best regards,

ZongShan(Sat, January 2, 2010 )




------------------------------------------------------------------------
*From:* Ben Bolker <bolker at ufl.edu>

*Cc:* "r-sig-ecology at r-project.org" <r-sig-ecology at r-project.org>
*Sent:* Sat, January 2, 2010 2:17:36 AM
*Subject:* Re: [R-sig-eco] How to create axes in arbitrary positions?

  See ?layout, ?subplot in the Hmisc package; in the ?par help page, you
may also want to see "new", "mfrow", "mfcol".

  Not quite sure what you're asking (posting an example of the kind of
graphics you want to a web page somewhere is sometimes helpful) but
maybe this helps.
Zongshan Li wrote:
very simple.
heights into one object.
at the specified locations?
-- 
Ben Bolker
Associate professor, Biology Dep't, Univ. of Florida
bolker at ufl.edu <mailto:bolker at ufl.edu> / people.biology.ufl.edu/bolker
GPG key: people.biology.ufl.edu/bolker/benbolker-publickey.asc