Skip to content
/ thisplot Public

❗ This is a read-only mirror of the CRAN R package repository. thisplot — Utility Functions for Plotting. Homepage: https://mengxu98.github.io/thisplot/ Report bugs for this package: https://github.com/mengxu98/thisplot/issues

License

Notifications You must be signed in to change notification settings

cran/thisplot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

thisplot

CRAN_Status_Badge develop-ver R-CMD-check test-coverage pkgdown RStudio CRAN mirror downloads

Introduction

thisplot is an R package providing utility functions for data visualization and plotting. It includes tools for color manipulation (blending, conversion, palettes), plot customization (themes, grob operations, patchwork building), panel size control, data optimization for plots, and layout adjustments. Designed to enhance workflows with ggplot2, patchwork, and ComplexHeatmap.

Chinese traditional colors

thisplot provides a comprehensive Chinese traditional color system with 1058 representative colors. Use ChineseColors() to create a color object, access colors by name (pinyin or Chinese), visualize the collection with visual_colors(), and retrieve specific palettes using get_colors().

Example usage:

library(thisplot)
cc <- ChineseColors()
cc
#> 
#> ── Chinese Traditional Colors System
#> 
#> ── Total 1058 colors
#> • blue: 92 colors
#> • cyan: 51 colors
#> • gray_brown: 323 colors
#> • green: 123 colors
#> • orange: 92 colors
#> • purple: 95 colors
#> • red: 181 colors
#> • yellow: 101 colors
#> 
#> ── Methods:
#> • visual_colors(loc_range, num_per_row, title, name_type)
#> 
#> ── See also:
#> • [get_colors()] for searching colors
cc$visual_colors(
  num_per_row = 30,
  title = "Chinese traditional colors",
  name_type = "chinese"
)
Chinese traditional colors













































































































































绿
























绿


















绿




西





绿







绿


绿


绿



绿


绿

绿

绿




绿


绿

绿



绿


绿


绿



绿

绿


绿



绿



绿


殿
绿



绿




绿



绿



绿



绿





绿



绿

绿


绿

绿




绿

绿

绿
绿




绿


绿


绿



绿




绿

绿

绿


绿


绿

绿


绿


绿


绿


绿


绿



绿

绿


绿




绿



绿

绿




绿

绿


绿

绿




绿


绿


绿









绿



绿



绿

绿




绿



绿




绿




绿



绿



绿









绿






绿















绿








































































































































































































寿






















































































































































































槿






























































































































































































退





















































































































槿














槿














































































绿

















绿


绿


绿






















绿








绿




绿


























绿









绿
















About

❗ This is a read-only mirror of the CRAN R package repository. thisplot — Utility Functions for Plotting. Homepage: https://mengxu98.github.io/thisplot/ Report bugs for this package: https://github.com/mengxu98/thisplot/issues

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages