[R] plot symbol "+", but with variable bar lenghts

Greg Snow Greg.Snow at imail.org
Thu Sep 9 16:05:02 CEST 2010


Look at my.symbols in the TeachingDemos package.

-----Original Message-----
From: Rainer Machne <raim at tbi.univie.ac.at>
Sent: Thursday, September 09, 2010 12:42 AM
To: R-help at r-project.org <R-help at r-project.org>
Subject: [R] plot symbol "+", but with variable bar lenghts


Hi,

does anybody know of some plotting function or an easy way to
generate "+" symbols with individually settable bar lengths?
I tried just combining "|" and "-" as pch and setting the size via cex,
but that doesn't really work since the two symbols have different default
lengths. Is there a horizontal | or a longer "-" available?

Thanks,
Rainer

______________________________________________
R-help at 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.



More information about the R-help mailing list