vrmlgen-package {vrmlgen}R Documentation

Create 3D data plots, charts and graphs as VRML files

Description

vrmlgen translates 3D point data, i.e. a numerical matrix with 3 columns and n rows, into a visual representation in the Virtual Reality Markup Language (VRML, file type .wrl) or alternatively, in the LiveGraphics3D format. Supported visualization methods are 3D scatter plots, meshes, bar charts, graphs and density estimation contour surfaces.

Details

Package: vrmlgen
Type: Package
Version: 1.2
Date: Date: 2009-10-12
License: GPL (>= 2)
LazyLoad: yes
URL: http://www.cs.nott.ac.uk/~egg/vrmlgen

Author(s)

Enrico Glaab

e.glaab@cs.nott.ac.uk

Examples

# create 33x3 matrix with random 3D input data
mat <- matrix(runif(99, 0, 3), ncol=3)

# create random class assignment vector with three classes
y <- round(runif(33, 0, 2))
y <- ifelse(y == 0, "class 1", ifelse(y == 1, "class 2", "class 3"))

# create ouput using numbers from 1 to length(y) as metalabels
vcloud(mat, y, metalabels=1:length(y), col.axis="black", col.lab="blue",
col.bg="white")

[Package vrmlgen version 1.3 Index]