pclil {plotcli}R Documentation

Short version of plotcli_line

Description

Short version of plotcli_line function.

Usage

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",
  ...
)

Arguments

y

A numeric vector of y values

x

A numeric vector of x values

plot_width

Width of the plot (default: 80)

plot_height

Height of the plot (default: 40)

x_label

Label for the x-axis (default: "x")

y_label

Label for the y-axis (default: "y")

color

Color of the plot elements (default: NULL)

braille

Use Braille characters for the plot (default: TRUE)

name

Name of the plot element (default: "line")

...

Additional arguments passed to the plotcli$new() function

Examples

x <- 1:10
y <- x^2
pclil(x, y)

[Package plotcli version 0.1.0 Index]