plotcli0.2.0 package

Command Line Interface Plotting

add_legend_to_output

Add Legend to Output Matrix

AsciiCanvas

ASCII Canvas Class

BlockCanvas

Block Canvas Class

braille_dot_bit

Get Braille dot bit value

braille_set_dot

Set a dot in a Braille character

BrailleCanvas

Braille Canvas Class

bresenham

Bresenham's line algorithm

build_plot_output_v2

Build Plot Output with Axes and Title (v2)

build_plot_output

Build Plot Output with Axes and Title (legacy)

Canvas

Canvas Classes for Terminal Plotting

cat_plot_matrix

Print plot matrix

cbind_plots

Combine plot matrices horizontally

cbind.plotcli

Generic function for combining plotcli objects horizontally

color_to_term

Convert ggplot2 color to terminal color name

create_canvas

Create a canvas of the specified type

create_panel_scales

Create Scales for a Single Panel

create_scales

Create Scale Object from ggplot_build data

dot-geom_registry

Geom Registry Environment

draw_border

Draw Border Around Canvas

draw_grid

Draw Grid Lines on Canvas

extract_legend_info

Extract Legend Information from ggplot

extract_plot_labels

Extract Plot Labels from ggplot

extract_plot_style

Extract Plot Style from ggplot Theme

format_axis_label

Format Axis Label

format_four_chars

Format number to four characters

geom_area_handler

GeomArea Handler

geom_bar_handler

GeomBar/GeomCol Handler

geom_boxplot_handler

GeomBoxplot Handler

geom_density_handler

GeomDensity Handler

geom_histogram_handler

GeomHistogram Handler

geom_hline_handler

GeomHline Handler

geom_line_handler

GeomLine Handler

geom_path_handler

GeomPath Handler

geom_point_handler

GeomPoint Handler

geom_rect_handler

GeomRect Handler

geom_segment_handler

GeomSegment Handler

geom_smooth_handler

GeomSmooth Handler

geom_text_handler

GeomText Handler

geom_vline_handler

GeomVline Handler

GeomRegistry

Geom Registry and Dispatch System

get_color_hue

Get the hue of a color (0-360 degrees)

get_data_subset

Get data subset for a specific geom

get_facet_info

Get Facet Information from Layout

get_geom_handler

Get a Geom Handler

get_term_colors

Get terminal colors

ggplotcli

ggplotcli - Render ggplot2 objects in the terminal

init_color_mapping

Initialize color mapping for a set of ggplot colors

is_braille

Check if a character is a Braille character

is_geom_registered

Check if a Geom is Registered

list_registered_geoms

List Registered Geoms

make_colored

Make colored text

make_unique_names

Make unique names

normalize_data

Normalize data

pclib

Short version of plotcli_bar

pclibx

Short version of plotcli_box

pclid

Short version of plotcli_density

pclih

Short version of plotcli_histogram

pclil

Short version of plotcli_line

pclis

Short version of plotcli_scatter

pixel_to_braille

Convert pixel coordinates to Braille cell and dot position

plotcli_bar

Bar plot using plotcli

plotcli_box

Box plot using plotcli

plotcli_density

Density plot using plotcli

plotcli_histogram

Histogram plot using plotcli

plotcli_line

Line plot using plotcli

plotcli_options

Set global options for plotcli

plotcli_scatter

Scatter plot using plotcli

plotcli

plotcli R6 Class

plus-.plotcli

Overload the "+" operator for plotcli objects

rbind_plots

Combine plot matrices vertically

rbind.plotcli

Generic function for combining plotcli objects vertically

register_geom

Register a Geom Handler

remove_color_codes

Remove color codes from a string

render_faceted_plot

Render Faceted Plot

render_single_panel

Render a single panel (non-faceted) plot

safe_aes_name

Safely extract aesthetic name from ggplot mapping

The 'plotcli' package provides terminal-based plotting in R. It supports colored scatter plots, line plots, bar plots, boxplots, histograms, density plots, and more. The 'ggplotcli()' function is a universal converter that renders any 'ggplot2' plot in the terminal using Unicode Braille characters or ASCII. Features include support for 15+ geom types, faceting (facet_wrap/facet_grid), automatic theme detection, legends, optimized color mapping, and multiple canvas types.