[R] overwrite title

Uwe Ligges ligges at statistik.tu-dortmund.de
Sat Dec 27 19:52:20 CET 2008

Carl Witthoft wrote:
> I have played with overwriting text on charts by using 'white' text and 
> various other tricks.
> As David W. said, there's usually a slight ghost left behind.
> My recommendation would be first and foremost to set up a miniscript to 
> regenerate your plot, and change the title text to whatever you really 
> want, rather than hacking the display via overwrites.
> Second, you might want to draw a borderless box )with fill color equal 
> to your chart background) over the existing text, then write the new title.

Which is suboptimal given you want to produce some file, because you 
will find all the elements (old title, box, etc.) in the reslting 
postscript / PDF or whatever file (except bitmaps)...

Uwe Ligges

> Carl
> ______________________________________________
> 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