plot3js.window: Set axis limits for a data3js object

View source: R/3JSsetup.R

plot3js.windowR 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


r3js documentation built on March 31, 2023, 7:23 p.m.