Re: [R] (no subject)

From: Jim Lemon <bitwrit_at_ozemail.com.au>
Date: Thu 08 Sep 2005 - 21:43:06 EST

Salang Pan wrote:
> hiŁ¬
>
> Is it possible to draw a string text in a rectangle according the width of this rectangle? that is, the fontsize of this string text can be adjusted according the width of the rectangle.
> How to set the cex parameter in text function?
>
> text (x, y = NULL, labels = seq(along = x), adj = NULL,
> pos = NULL, offset = 0.5, vfont = NULL,
> cex = 1, col = NULL, font = NULL, xpd = NULL, ...)
>
Hi Salang,

Have a look at boxed.labels() and textbox() in the plotrix package.

Jim



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Sep 08 11:37:50 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 16:31:31 EST