Re: [R] Set of well distinguishable line types?

From: Jim Lemon <jim_at_bitwrit.com.au>
Date: Mon, 28 Apr 2008 21:49:49 +1000

Werner Wernersen wrote:
> Hi,
>
> I am plotting several lines into one plot and would
> like them to be distinguishable in print later on as
> well. Thus, my question is: Is there a larger set of
> such line types available like the sets available for
> colors?
>
> Maybe somebody has already put in the work to define
> some additional good looking and distinguishable line
> types.
>
Hi Werner,
If you look at lty, there is an option for defining broken line types by strings of up to 8 hexadecimal digits, e.g.

abline(h=1,lty="28f8")

gives a line like the "centerline" used in mechanical drawing.

Jim



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. Received on Mon 28 Apr 2008 - 11:50:25 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 28 Apr 2008 - 17:30:32 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive