[R] rgl: reproduce final state of interactive plot?

Duncan Murdoch murdoch.duncan at gmail.com
Thu Jul 14 18:39:43 CEST 2011


On 14/07/2011 11:12 AM, sjaffe wrote:
> After interacting with a 3d plot (eg plot3d, persp3d), is there a way to
> capture the final settings of view angles, etc, so that the final plot could
> be easily reproduced? The plot functions themselves just return a vector of
> 'ids'.
>

Yes, saving the result of par3d() will save it.  (It saves more than 
necessary; see ?par3d for more details.)

Duncan Murdoch

> --
> View this message in context: http://r.789695.n4.nabble.com/rgl-reproduce-final-state-of-interactive-plot-tp3667866p3667866.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> 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