rgl.test.scene {rglplus}R Documentation

Plot 3D test image

Description

Draws a c3D test image with three Cartesian axes, a sphere of radius 0.5 and three light sources with RGB colors.

Usage

rgl.test.scene(center = c(0, 0, 0), width = 0.5)

Arguments

center

3-vector specifying the centre of the 3D plot.

width

either an integer (>1) specifying the number of pixels in the horizontal direction, or a real value (>0 and <=1) specifying the fraction of the available pixels. If the selected aspect ratio causes the number of vertical pixels to exceed the available number, the width is reduced as much as necessary.

Value

None

Author(s)

Danail Obreschkow


[Package rglplus version 1.3 Index]