View source: R/scatter_lines_rgbwt.R
| scatter_lines_rgbwt | R Documentation | 
Render lines into a RGBWT bitmap.
scatter_lines_rgbwt(
  xy,
  xlim = c(min(xy[, c(1, 3)]), max(xy[, c(1, 3)])),
  ylim = c(min(xy[, c(2, 4)]), max(xy[, c(2, 4)])),
  out_size = c(512L, 512L),
  RGBA = c(0, 0, 0, 255),
  skip_start_pixel = FALSE,
  skip_end_pixel = TRUE
)
xy | 
 4-column matrix with point coordinates. Each row contains X and Y coordinates of line start and X and Y coordinates of line end, in this order.  | 
xlim, ylim | 
 2-element vector of rendered area limits (position of the first pixel on the
left/top, and the last pixel on the right/bottom).
You can flip the image coordinate system by flipping the   | 
out_size | 
 2-element vector size of the result raster, defaults to   | 
RGBA | 
 Vector of 4 elements with integral RGBA color for the lines, defaults to   | 
skip_start_pixel | 
 TRUE if the start pixel of the lines should be omitted, defaults to   | 
skip_end_pixel | 
 TRUE if the end pixel of a line should be omitted, defaults to   | 
Lines plotted in RGBWT bitmap.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.