[R] adding text to persp

Mike Lonergan mel at mcs.st-and.ac.uk
Fri Nov 9 12:30:46 CET 2001


A very crude solution is to superimpose two plots.

Though I don't quite understand why:

persp(a)
par(new=T)
persp(a')

puts the plot of a' on top of a (R1.3.1, Windows), while

par(new=T)
persp(a)
persp(a')

doesn't.

Apologies if this is already common knowledge.
If it is unintended, I would prefer nobody fixed it!

Cheers,

Mike.

----------------------------------------------------------------
Mike Lonergan
Research Unit for Wildlife Population Assessment
Mathematical Institute
University of St Andrews
North Haugh                             Tel: +44 (0) 1334 463760
St Andrews                              Fax: +44 (0) 1334 463748
Fife KY16 9SS                      Email: mel at mcs.st-and.ac.uk
Scotland                       http://www-ruwpa.mcs.st-and.ac.uk
----------------------------------------------------------------


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list