[R] Specifying line types

Patrick Connolly p.connolly at hortresearch.co.nz
Sun Nov 17 21:43:14 CET 2002


platform i686-pc-linux-gnu
arch     i686             
os       linux-gnu        
system   i686, linux-gnu  
status                    
major    1                
minor    6.1              
year     2002             
month    11               
day      01               
language R  

I wish to make a vector of line types something like c("21", "32")
which is simple enough to do.  But if I want to have a continuous line
part of that vector, I'd have thought "40" would produce a blank space
of zero length thereby achieving the desired effect.  Not so.

Even less predictable is if I try "A0".  The result seems to be
similar to specifying "A8" (approximately).  Is that by design?

It's no surprise that lty = 1 cannot mix with lty = "32" but in the
end, I discovered that c("21", "32", "solid") will do what I want,
though it wasn't obvious.

Is something lacking in the documentation or just in my comprehension?

best

-- 
Patrick Connolly
HortResearch
Mt Albert
Auckland
New Zealand 
Ph: +64-9 815 4200 x 7188
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~
I have the world`s largest collection of seashells. I keep it on all
the beaches of the world ... Perhaps you`ve seen it.  ---Steven Wright 
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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