On 27.01.2010 17:50, Viechtbauer Wolfgang (STAT) wrote:
Just as an aside, the scatterplot3d package does things like this very cleverly. Essentially, when you create a plot with scatterplot3d, the function actually returns functions with values set so that points3d(), for example, "knows" the axis scaling.
Right, it makes use of lexical scoping properties, where the environment is attached to the returned graphics functions.
Uwe Ligges
Best,
______________________________________________ R-help@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.