search for: ypper

Displaying 1 result from an estimated 1 matches for "ypper".

Did you mean: upper
2002 Nov 04
0
persp(), x- and y-axis with character strings
Dear R list, I want to plot the yield curve in a 3D graph: the x-axis refers to time; the y-axis refers to the maturities and the z-axis are the yields. The following code works fine: persp(y, x, as.matrix(ypper), xlab="Last 50 periods", ylab="Maturities (months)",zlab="Yields", zlim=c(3,6),theta=130, phi=15, col="Seagreen", box=T, ticktype="detailed", shade=0.3, ltheta=270, lphi=30, r=sqrt(3), expand=.75, main="Historical yield curves") Now, I...