kitty_plot | R Documentation |
Create a plot and write the result to the kitty terminal.
kitty_plot(
expr,
width = kitty_width(),
height = 0.8 * kitty_width(),
units = "px",
res = NA,
...,
kitty_col = TRUE,
kitty_bg = kitty_col,
kitty_fg = kitty_col
)
expr |
Valid R expression creating the plot. |
width |
The width of the image. Passed on to |
height |
The height of the image. Passed on to |
units |
The units in which 'height' and 'width' are given. Passed on to
|
res |
The resulution of the image. Passed on to |
... |
Passed on to |
kitty_col |
Logical value indicating that the foreground and background colors used in the plot should be set to that of the terminal. |
kitty_bg |
Logical value indicating that the background color used in the plot should be set to that of the terminal. |
kitty_fg |
Logical value indicating that the foreground color used in the plot should be set to that of the terminal. |
The kitty_fg
argument sets fg
, col
, col.axis
,
col.lab
, col.main
and col.sub
using par
to
kitty_foreground
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.