This function sets up a new r3js plot and returns an r3js plotting object that can later be added to using other functions such as points3js() and lines3js() etc. It is in many ways equivalent to the plot.new() command.

plot3js.new(background = "#ffffff")

Arguments

background

Background color to use

Value

Returns a new data3js plotting object