powered by
Convert and save a 3D matrix into a AmiraMesh ASCII Lineset (.am) object
export_amira.path( vertices, filename, Lines = c(1:(dim(vertices)[1] - 1) - 1, -1), path )
numeric: a kx3 matrix
character: name of the requested output
numeric: sequence of the vertices that defines the line
character: folder path
Antonio Profico, Costantino Buzi, Marina Melchionna, Paolo Piras, Pasquale Raia, Alessio Veneziano
x<-c(1:20) y<-seq(1,3,length=20) z<-rnorm(20,0.01) vertices<-cbind(x,y,z) export_amira.path(vertices=vertices,filename="example_line",path=tempdir())
Run the code above in your browser using DataLab