(no subject)
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