[R] arrow egdes and lty
tdenes at cogpsyphy.hu
Mon Nov 14 11:50:38 CET 2011
> Dear R developers,
> I want to draw an arrow in a figure with lty=2. The
> lty argument also affects the edge of the arrow, which is
> unfortunate. Feature or bug?
> Is there some way to draw an arrow with intact edge, still
> with lty=2?
AFAIK there is no such option in the arrow function, but you might try to
play around with the shape package and its various arrowhead options.
> Example code:
> arrows(4, 5, 6, 7, lty=2)
Arrows(4, 5, 6, 7, lty=2)
> Best wishes,
> R-help at r-project.org mailing list
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help