sjaffe <sjaffe <at> riskspan.com> writes:
[snip snip]
> This can also be used to 'snap' the current view during an interactive
> session and restore it later during that same session, which could be quite
> useful.
>
> To save typing, a (trivial) pair of functions to encapsulate this:
>
> snap.view <- function() par3d( c("userMatrix", "FOV", "zoom") )
> restore.view <- function( snap) par3d( snap )
>
This is very nice, I keep having to remember how to do things
like it. Duncan, perhaps it could go in an example in the package ... ?
Ben
______________________________________________
[email protected] 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.