【画图】用413篇疑似造假文章信息画个图,附文章list链接
2023-06-13 09:15:24 时间
上面这个事就不多说了,想画图的往下看,
想要文章的list,关注公众号后回复:文章list
Tips
上面这个数据x轴内容特别多,可能会遇到一下几个问题;
1、不需要legend
theme(legend.position = "none")
2、色盘颜色不够
scale_fill_manual(values=colorRampPalette(pal_lancet("lanonc")(9))(53))
3、翻转一下更合适
coord_flip()
画图
library(ggplot2)
library(ggsci)
pubpeer<-read.csv("Papermill Productions - Sheet1.csv",header = T)
p1<-ggplot(data=pubpeer,aes(x=Journal,fill=Journal))+
geom_bar(stat = "count")+
theme_bw()+
theme(axis.text.x = element_text(hjust = 1),legend.position = "none")+
scale_fill_manual(values=colorRampPalette(pal_lancet("lanonc")(9))(53))+coord_flip()
p1
p2<-ggplot(data=pubpeer,aes(x=Affiliations.Hospital,fill=Affiliations.Hospital))+
geom_bar(stat = "count")+
theme_bw()+
theme(axis.text.y = element_text(hjust = 1,size=7),legend.position = "none")+
scale_fill_manual(values=colorRampPalette(pal_lancet("lanonc")(9))(143))+coord_flip()
p2
关于数据
1、第一幅图上面的杂志大家要小心了,尤其是统计数字比较多的!
2、大家还是瞄准最新文件上的三高努力吧
3、不要存在侥幸心理,踏踏实实做实验
One More Thing......
相关文章
- Java list转为object_List集合转JSONObject
- java list去重_JAVA基础-List去重的6种方式[通俗易懂]
- C# List去重的三种方法「建议收藏」
- Flutter 构建一个 todo list 应用
- 面试官:怎么去除 List 中的重复元素?我一行代码搞定,赶紧拿去用!
- 疑似问题文章更新126+1篇,附文章list链接
- ORA-02197: file list already specified ORACLE 报错 故障修复 远程处理
- Linked List Cycle详解程序员
- Redis实现List分页技术研究(redis的list分页)
- LIST-PROCESSING用法 ABAP任意时刻进行List输出_SAP详解编程语言
- Mastering List Operations in Redis: Tips and Tricks for Optimal Performance(redis操作list)
- 轻松高效:Redis存取List的最佳实践(redis 存取list)
- 利用Redis List对象提升系统性能(redis list对象)
- 使用Redis实现List存储(向redis中存list)
- Redis中List与Set的应用(redis集合与list)
- Redis List实现的双向链表功能(redis里面的list)
- Redis灵活的List储存功能(redis能储存list)
- js模拟C#中List的简单实例
- C#Datagridview绑定List方法代码