[R] Plotting text in existing plot?

Greg Snow Greg.Snow at imail.org
Fri Jul 9 19:42:11 CEST 2010


Others pointed you to the text function for the base graphics system.  But if what you want to do is use text, but have a simple way of specifying the center of the plot without computing the user coordinates by hand of the center, then look at the grconvertX and grconvertY functions.

-- 
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 Ralf B
> Sent: Friday, July 09, 2010 3:52 AM
> To: r-help at r-project.org
> Subject: [R] Plotting text in existing plot?
> 
> I would like to plot some text in a existing plot graph. Is there a
> very simple way to do that. It does not need to be pretty at all (just
> maybe a way to center it or define a position within the plot). ( ? )
> 
> Ralf
> 
> ______________________________________________
> 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.



More information about the R-help mailing list