[R] Underlined font
David Brahm
brahm at alum.mit.edu
Fri Jan 18 17:03:22 CET 2002
Hi all,
Is there a simple way to place underlined text in a plot?
Hershey vector fonts seem to have a single underscore character ("\\ul"),
but no underlined font. Plotmath (ref: ?plotmath) comes very close with:
R> plot(0:1,0:1, type="n")
R> text(.1, .1, quote(bar(Hello)))
but that's overlined, not underlined. Also:
R> text(.2, .2, quote(over(Hello, phantom())))
is the right idea but leaves too much space. Thanks for any help!
--
-- David Brahm (brahm at alum.mit.edu)
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list