thisplot0.3.2 package

Utility Functions for Plotting

add_grob

Add a grob to a gtable

adjcolors

Convert a color with specified alpha level

adjustlayout

Adjust graph layout to avoid node overlaps

as_grob

Convert a plot object to a grob

as_gtable

Convert a plot object to a gtable

Blend2Color

Blend two colors using a specified mode

blendcolors

Blends a list of colors using the specified blend mode

BlendRGBList

Blend a list of colors

build_patchwork

Build a patchwork gtable

check_ci_env

Check CI environment

ChineseColors

Chinese traditional colors system

col2hex

Convert color names to hexadecimal format

drop_data

Drop unused data in the plot

extractgrobs

Extract grobs from a list

get_chinese_palettes

Get Chinese color palettes

get_colors

Get colors from Chinese colors dataset or palettes

get_legend

Extract legend from a plot

get_vars

Get used vars in a ggplot object

grid_draw

Draw grobs at specified positions

head.colors

Return the first part of a colors object

mestimate

Estimate the fuzzifier parameter m

palette_colors

Color palettes collected

panel_fix

Set the panel width/height of a plot to a fixed value

patchwork_grob

Convert a patchwork object to a grob

print.ChineseColors

Print ChineseColors object

print.colors

Print colors object

print.thisplot_logo

Print logo

RGBA2RGB

Convert RGBA color to RGB with background

segements_df

Shorten and offset the segment

show_palettes

Show the color palettes

simple_colors

Simple random color selection

slim_data

Slim unused data in the plot

standardise

Standardize data by rows

theme_blank

Blank theme

theme_this

The default theme for scop plot function.

thisplot_logo

The logo of thisplot

thisplot-package

Utility Functions for Data Visualization and Plotting

visual_colors

Visualize colors in HTML widget

Provides utility functions for plotting. Includes functions for color manipulation, plot customization, panel size control, data optimization for plots, and layout adjustments.

  • Maintainer: Meng Xu
  • License: MIT + file LICENSE
  • Last published: 2026-01-11