Learn R Programming

tagtools (version 0.2.0)

col_line3: Plot coloured line(s) in 3 dimensions with plot_ly

Description

This function is used to plot three dimensional lines with segments colored. It may be just as simple to use plotly::plot_ly() directly.

Usage

col_line3(x, y, z = 0, c, ...)

Value

a plot_ly() graphics object

Arguments

x

name of object or variable containing data for x axis

y

name of object or variable containing data for y axis

z

name of object or variable containing data for z axis

c

name of object or variable by which to color

...

Additional inputs for plot_ly()

See Also

cline

Examples

Run this code
col_line3(1:20, 1:20, 1:20, 1:20)

Run the code above in your browser using DataLab