Displaying 2 results from an estimated 2 matches for "ltransform3dmatrix".
2004 Aug 27
1
Plotting irregular grid as image or persp
Hi,
I have an array of 2d node locations and an array triangles, and would
like to plot something like a image or persp.
An example of doing it with rgl is:
library(ncdf)
library(rgl)
# wget http://www.maplepark.com/~drf5n/extras/teapot.nc
teapot<-open.ncdf("teapot.nc")
z<-get.var.ncdf(teapot,"tris")
l<-get.var.ncdf(teapot,"locations")
2006 Oct 19
1
A question regarding Wireframe in Package Lattice
Hello,
The following code produces a quadrilateral:
q<-matrix(c(1,3,1,2,3,1,2,4,2,1,4,2),nrow=4,byrow=T)
qc<-xyz.coords(q)
wireframe(z~y*x,qc)
I have 2 questions
1) How can i remove the bounding box i.e the cube encompassing the
quadrilateral?
2) Is there any function to get the 2D coordinates of the
quadrilateral actually used in the final plot ? I could manually