[R] Set of well distinguishable line types?

Richard Pearson richard.pearson at postgrad.manchester.ac.uk
Mon Apr 28 17:41:55 CEST 2008


I've used the following to get a few different line types. However, I'd be interested to hear from someone with expertise in creating line types that are "maximally distinguishable" by human eyes.

ltys = c("22", "44", "13", "1343", "73", "2262", "12223242", "F282", "F4448444", "224282F2", "F1")

Best wishes

Richard.


Jim Lemon wrote:
> 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.
> 

-- 
Richard D. Pearson             richard.pearson at postgrad.manchester.ac.uk
School of Computer Science,    http://www.cs.man.ac.uk/~pearsonr
University of Manchester,      Tel: +44 161 275 6178
Oxford Road,                   Mob: +44 7971 221181
Manchester M13 9PL, UK.        Fax: +44 161 275 6204



More information about the R-help mailing list