[R-sig-eco] How to create axes in arbitrary positions?
Sarah Goslee
sarah.goslee at gmail.com
Fri Jan 1 14:22:50 CET 2010
I'm not familiar with matlab - you are more likely to get good answers if you
can explain your question clearly, and without referring to software other
than R.
That said, you might want to look at ?layout or ?axis and ?par
Sarah
On Fri, Jan 1, 2010 at 6:49 AM, Zongshan Li <zongshan_li at yahoo.com> wrote:
> Dear the friends of R-Ecology:
> I am a beginner for R language, and I think my problem may be very simple.
> --------------------
> Prior to use R, I used matlab to draw several plots of different heights into one object.
> The codes are that:
> axes('position', [0.1,0.1,0.4,0.1]); plot……
> axes('position', [0.1,0.2,0.4,0.2]); plot…….
> axes('position', [0.1,0.4,0.4,0.3]); plot…….
> I am wondering if there is some kind of function in R to draw plots at the specified locations?
> ---------------------------
>
> Note: the following is the helping information of the function: axes.
>
> AXES Create axes in arbitrary positions.
> AXES('position', RECT) opens up an axis at the specified location
> and returns a handle to it.
> RECT = [left, bottom, width, height] specifies the location and
> size of the side of the axis box, relative to the lower-left
> corner of the Figure window, in normalized units where (0,0)
> is the lower-left corner and (1.0,1.0) is the upper-right.
>
--
Sarah Goslee
http://www.functionaldiversity.org
More information about the R-sig-ecology
mailing list