[R] Add an arrow to a plot

Greg Snow Greg.Snow at imail.org
Wed Jul 28 01:42:15 CEST 2010


In addition to the arrows function, look at the my.symbols and ms.arrows functions in the TeachingDemos package, this is a wrapper around the arrows function, but may be a more natural interface for what you want.

-- 
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.snow at imail.org
801.408.8111


> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of Trying To learn again
> Sent: Tuesday, July 27, 2010 3:07 PM
> To: r-help at r-project.org
> Subject: [R] Add an arrow to a plot
> 
> Hi I want to plot an x,y plot something like an scatter plot.
> 
> I always have the same doubt, were is the last point of my file?
> 
> Imagine it is a time series so I want the last point to indicate with
> an
> arrow (but athomatically if posible).
> 
> Someone knows if it is posible?
> 
> Could it be posible to add additional arrows (with a small square with
> text?)
> 
> I hope you can comprehead me?
> 
> I suppose you will say: An arrow? Which width?size? I first need to see
> how
> it looks and if it is posible.
> 
> Many thanks in advance¡¡¡
> 
> 	[[alternative HTML version deleted]]



More information about the R-help mailing list