plot3js.window {r3js}R Documentation

Set axis limits for a data3js object

Description

This is similar to the plot.window() command except that plot limits can only be set once for each plot.

Usage

plot3js.window(data3js, xlim, ylim, zlim, aspect = NULL)

Arguments

data3js

The data3js object

xlim

x axis limits

ylim

y axis limits

zlim

z axis limits

aspect

vector of length 3 giving the aspect ratio, or null to automatically set the aspect ratio such that axes have the same visual length

Value

Returns an updated data3js object


[Package r3js version 0.0.2 Index]