当前位置:网站首页>ggplot2的自定义调色板
ggplot2的自定义调色板
2022-06-27 06:51:00 【Mrrunsen】
选择在绘图中使用哪些颜色是一项重要的设计决策。一个好的调色板选择可以突出数据的重要方面,但一个糟糕的选择可能会导致无法正确解释。有许多已经与 {ggplot2} 兼容的调色板 R 包。例如, {RColorBrewer} 或 {viridis} 包都被广泛使用。
如果您经常在工作中制作情节,那么让它们与您公司的品牌保持一致是很棒的。也许您已经使用scale_colour_manual (){ggplot2} 中的函数,但它变得有点乏味?或者,也许你只是想让你的情节看起来更漂亮一点?这篇博文将向您展示如何制作与 {ggplot2} 兼容的基本调色板。它假设你对 {ggplot2} 有一定的经验——你从你的美学中了解你的几何。
mytheme <- theme(plot.title=element_text(face="bold.italic",
size="14"边栏推荐
- 程序人生 - 程序员三十五岁瓶颈你怎么看?
- 面试官:用分库分表如何做到永不迁移数据和避免热点问题?
- 2018 mathematical modeling competition - special clothing design for high temperature operation
- Maxcompute SQL 的查询结果条数受限1W
- Mathematical modeling contest for graduate students - optimal application of UAV in rescue and disaster relief
- Fractional Order PID control
- Matlab GUI interface simulation DC motor and AC motor speed simulation
- Modeling competition - optical transport network modeling and value evaluation
- jupyter notebook文件目录
- Talk about Domain Driven Design
猜你喜欢

一线大厂面试官问:你真的懂电商订单开发吗?

From 5 seconds to 1 second, the system flies

Cloud-Native Database Systems at Alibaba: Opportunities and Challenges

【软件工程】山东大学软件工程复习提纲

Some settings about postfix completion code template in idea

正斜杠反斜杠的由来

Interviewer: how to never migrate data and avoid hot issues by using sub database and sub table?

C# 请问怎么在更新数据库时候调用line与rows

Interviewer: please introduce cache penetration, cache null value, cache avalanche and cache breakdown, which are easy to understand

Idea one click log generation
随机推荐
multiprocessing. Detailed explanation of pool
从5秒优化到1秒,系统飞起来了...
Spark SQL common time functions
Machine learning
Date database date strings are converted to and from each other
Some settings about postfix completion code template in idea
One year's experience of technical personnel in Entrepreneurship
路由器和交换机的区别
论文阅读技巧
Caldera安装及简单使用
面试官:大量请求 Redis 不存在的数据,从而打倒数据库,你有什么方案?
Cloud-Native Database Systems at Alibaba: Opportunities and Challenges
oracle的similarity方法实现原理
SQL injection bypass (I)
面试官:你天天用 Lombok,说说它什么原理?我竟然答不上来…
thrift
将通讯录功能设置为数据库维护,增加用户名和密码
NoViableAltException([email protected][2389:1: columnNameTypeOrConstraint : ( ( tableConstraint ) | ( columnNameT
How to implement redis cache of highly paid programmers & interview questions series 116? How do I find a hot key? What are the possible problems with caching?
pytorch Default process group is not initialized