device_new: Create a new 3d device window.

Description Usage Arguments Value

View source: R/devices.R

Description

Function creates a new window with options for background color, size, camera angles, field of view angle, and zoom.

Usage

1
2
device_new(bgrd_color = "white", width = 640, height = 640,
  vp_theta = 0, vp_phi = 15, vp_fov = 60, vp_zoom = 1)

Arguments

bgrd_color

The String background color of the window. Default is "white".

width

The integer width of the window in pixels. The default is 640.

height

The integer height of the window in pixels. The default is 640.

vp_theta

The rotation of the camera. The default is 0.

vp_phi

The rotation of the camera. The default is 15.

vp_fov

The field of view angle. The default is 60.

vp_zoom

The degree of zoom for the camera. The default is 1.

Value

The newly created integer id for the device window.


deandevl/Rvisual3dPlot documentation built on Nov. 5, 2019, 2:27 p.m.