摘要: break是跳出循环exit是退出脚本。 看下面的例子。 001、break [root@PC1 test02]# cat test.txt ## 测试数据 3 4 5 6 7 [root@PC1 test02]# cat test.sh ## 测试程序 #!/bin/bash for i in $ 阅读全文
posted @ 2023-07-10 15:45 小鲨鱼2018 阅读(91) 评论(0) 推荐(0) 编辑
摘要: 001、基础绘图 library(gcookbook) # For the data set p <- ggplot(heightweight, aes(x = ageYear, y = heightIn, colour = sex)) + geom_point() p ## 基础绘图 002、添加 阅读全文
posted @ 2023-07-10 11:32 小鲨鱼2018 阅读(2179) 评论(0) 推荐(0) 编辑
摘要: 001、基础绘图 library(ggplot2) p <- ggplot(faithful, aes(x = eruptions, y = waiting)) + geom_point() ## 基础绘图 p 002、增加文本 p + annotate("text", x = 3, y = 48, 阅读全文
posted @ 2023-07-10 10:58 小鲨鱼2018 阅读(197) 评论(0) 推荐(0) 编辑
摘要: 001、基础绘图 library(ggplot2) p <- ggplot(data.frame())+geom_point()+xlim(0,10)+ylim(0,10) ## 基础绘图 p 002、增加文本 an1 <- p + annotate("text", x = 5, y = 5, la 阅读全文
posted @ 2023-07-10 10:22 小鲨鱼2018 阅读(626) 评论(0) 推荐(0) 编辑