On 09/07/2012 07:30 AM, Levi Waldron wrote:
For posterity, I found the TeachingDemos::shadowtext option most
agreeable for this problem:

     * legend puts a large box around the text which did not seem
possible to shrink, and does not accept vector x, y arguments
     * plotrix::boxed.labels did not work with pos=4 (this moved the
text, but not the box)

True, boxed.labels just passes arguments such as "pos" to the "text" function. You probably want something like:

boxed.labels(15,5200,"Air Flow",bg="white",border=NA)

     * TeachingDemos::shadowtext puts an opaque "shadow" around the
text, rather than a box, which obscures a minimum of background while
still making the labels readable. col="black", bg="white" options
produced this effect (default options are opposite this).

However, shadowtext does the job just as well.

Jim

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to