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

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