powered by
Short version of plotcli_line function.
pclil( y, x = NULL, plot_width = getOption("plotcli.plot_width", 80), plot_height = getOption("plotcli.plot_height", 40), x_label = "x", y_label = "y", color = NULL, braille = getOption("plotcli.braille", TRUE), name = "line", ... )
A numeric vector of y values
A numeric vector of x values
Width of the plot (default: 80)
Height of the plot (default: 40)
Label for the x-axis (default: "x")
Label for the y-axis (default: "y")
Color of the plot elements (default: NULL)
Use Braille characters for the plot (default: TRUE)
Name of the plot element (default: "line")
Additional arguments passed to the plotcli$new() function
x <- 1:10 y <- x^2 pclil(x, y)
Run the code above in your browser using DataLab