Dear list,

I am trying to construct a perspective plot of a 2D triangle, or pyramid.  I
can easily do the one dimensional plot (code below), but I can't figure out
how to do it in a perspective plot for two input variables.  Does anyone
have a simple solution? 

Thanks!
Derek

#code for a triangle
u <- seq(-1,1,.001)
tri <- (1-abs(u))
plot(tri~u,type="l",main="Second Iteration Kernel: Two Input
Variables",lwd=2,
        xlab="x",ylab="y",col="blue")

-- 
View this message in context: 
http://www.nabble.com/how-to-draw-a-perspective-pyramid-tp19247124p19247124.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
[email protected] 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.

Reply via email to