Displaying 1 result from an estimated 1 matches for "zideal".
Did you mean:
ideal
1999 Feb 01
0
persp on x,y,z
....96,3),
rep(1.92,2),
2.88)
z<-c(.65,1.78,2.4,2.54,3.04,2.22,2.97,3.56,
.745,1.287,1.98,1.91,2.02,2.24,2.95,
.47,.80,.90,1.32,1.57,2.51,
.23,.51,1.38,2.09,2.74,
.14,.88,1.87,2.84,
.40,1.61,2.48,
.78,1.93,
.87)
These data sample one triangular corner of a matrix.
I want a plot of the efficiency
zideal<- abs(x-y)/.3
eff<- (z/zideal)^2
But I can't figure out how to get a persp() plot of eff; this doesn't
work:
persp(x,y,eff,col="grey",theta=45,phi=30)
I tried a trick using unique(x),unique(y) which didn't work.
If I define x, y and z like this:
x<-c(-1.92,-1.44,-...