项目
在 GitHub 查看 ggrepel
slowkow/ggrepel
关于
:round_pushpin: 在 ggplot2 图形中将相互重叠的文本标签彼此推开。
数据与分析实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- +4
- 1个月
- +2
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文ggrepel 
Overview
ggrepel provides geoms for ggplot2 to repel overlapping text labels:
geom_text_repel()geom_label_repel()
Text labels repel away from each other, away from data points, and away from edges of the plotting area.
library(ggrepel)
ggplot(mtcars, aes(wt, mpg, label = rownames(mtcars))) +
geom_text_repel() +
geom_point(color = 'red') +
theme_classic(base_size = 16)
Installation
# The easiest way to get ggrepel is to install it from CRAN:
install.packages("ggrepel")
# Or get the the development version from GitHub:
# install.packages("devtools")
devtools::install_github("slowkow/ggrepel")
Usage
See the examples page to learn more about how to use ggrepel in your project.
Examples
Click one of the images below to go to see the code example:
Contributing
Please submit an issue to report bugs or ask questions.
Please contribute bug fixes or new features with a pull request to this repository.
探索相关项目
加载中…






















