[R] text on a plot

David Winsemius dwinsemius at comcast.net
Wed Oct 7 07:03:40 CEST 2009

On Oct 6, 2009, at 11:42 PM, Ning Ma wrote:

> Hi,
> How can I put text in a figure which is not parallel to the  
> axes,such
> as along the line x=2y.
> It seems that the function 'text' does not have such parameters.
What about srt?

  text(0.8,0.8, "text test", srt=45)

> thanks in advance
> Ma
> ______________________________________________
> 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.

David Winsemius, MD
Heritage Laboratories
West Hartford, CT

More information about the R-help mailing list