Re: [R] reversing perspective plot axis

2007-10-31 Thread James
On Oct 31, 2007, at 9:48 AM, Greg Snow wrote: > A simple approach is to swap x and y and rotate the theta parameter > -90 > degrees (play around with this until it is what you want). Thank you. That does exactly what I wanted. Oddly enough, I had already swapped X and Y trying to get this t

Re: [R] reversing perspective plot axis

2007-10-31 Thread Greg Snow
age- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of James > Sent: Tuesday, October 30, 2007 8:17 PM > To: r-help@r-project.org > Subject: [R] reversing perspective plot axis > > Hi, > > I am trying to create a perspective plot with Time on the >

Re: [R] reversing perspective plot axis

2007-10-30 Thread Duncan Murdoch
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.ed

Re: [R] reversing perspective plot axis

2007-10-30 Thread Dirk Eddelbuettel
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

[R] reversing perspective plot axis

2007-10-30 Thread James
Hi, 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 I don't like the way my x-axis is setup. Right now, Time is this sequence. Time = seq(from = 1/52, to = 1, by=1/52) That results in the x-axis going f