[R] reversing perspective plot axis

Duncan Murdoch murdoch at stats.uwo.ca
Wed Oct 31 04:00:30 CET 2007


On 30/10/2007 10:42 PM, Dirk Eddelbuettel wrote:
> On 30 October 2007 at 20:17, James wrote:
> | I am trying to create a perspective plot with Time on the x-axis,  
> | Underlying Price on the y-axis, and Option Price on the z-axis.  But  
> 
> Can't help with persp, but see 
> 	http://dirk.eddelbuettel.com/code/rquantlib-rgl.html 
> for some animated gifs using Rgl and the RQuantLib pricers.

Animations are easier in the latest release:  see spin3d to set a spin 
rate, par3dinterp to interpolate between views, movie3d to take regular 
snapshots, or play3d to just play them.

Duncan



More information about the R-help mailing list