Displaying 1 result from an estimated 1 matches for "nchart".
Did you mean:
chart
2012 Aug 22
1
multiline text() with different cex sizes
...it looking
OK on the screen, when I print to a PDF device, the lines of text move
around.
op <- par(mar=c(4,4,1,1)+.01) # tight bounding box
plot(1:79, type="n",
xlab="Year", ylab="", cex.lab=1.5,
xlim=c(1500, 2000))
text(1610, 75, "Specimen of a\nChart of Biography", cex=2.5, font=4)
text(1610, 69, "of Milestones Authors", cex=1.5, font=4)
par(op)
In my real application, I would also add other lines of text in a
smaller font size.
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York Universit...