憩心阁分享 http://blog.sciencenet.cn/u/zhangdong 知行合一。

博文

ggplot2中坐标网格和坐标文字字体和字号的调整

已有 26636 次阅读 2014-7-24 23:23 |系统分类:科研笔记| R语言, 字号, 字体, 坐标轴, ggplot2

pbsfig <- qplot(raw.score, theta,  data = pbs,geom=c("point","smooth"),method = "loess")

###下一行实现所需功能

pbsfig + theme(axis.text=element_text(size=16),axis.title=element_text(size=20,face="bold"))




https://wap.sciencenet.cn/blog-247792-814410.html

上一篇:R语言中的数字精度问题
下一篇:PDF转化成图片
收藏 IP: 180.160.23.*| 热度|

1 Vetaren11

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...
扫一扫,分享此博文

全部作者的其他最新博文

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-5-15 06:32

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部