传送门 http://blog.csdn.net/tanzuozhev/article/details/51106089 

          http://blog.csdn.net/tanzuozhev/article/details/51108040

          http://blog.sina.com.cn/s/blog_69ffa1f90101siel.html

数据集 

R ggplot2画误差折线图

ggplot(tgc, aes(x=thickness,  
 y=temperature,colour=factor(Laser.energy),shape=factor(Laser.energy),group=Laser.energy)) + 
     geom_errorbar(aes(ymin=temperature-se, ymax=temperature+se),colour="black",width=.1) +
     geom_line()+
     geom_point(size=3,fill="white")+
     xlab("thickness[mm]")+
            ylab("temperature[℃]")+
           ggtitle("LASER ALL-CERAMIC CROWN REMOVE")+
           scale_colour_discrete( name  ="Laser energy",
                          breaks=c(300,250,200,150,100,50),
                          labels=c("300 mJ", "250 mJ","200 mJ","150 mJ","100 mJ","50 mJ"))+
            scale_shape_discrete( name  ="Laser energy",
                          breaks=c(300,250,200,150,100,50),
                          labels=c("300 mJ", "250 mJ","200 mJ","150 mJ","100 mJ","50 mJ"))
效果图
R ggplot2画误差折线图

相关文章:

  • 2021-12-20
  • 2022-12-23
  • 2022-01-10
  • 2021-05-17
  • 2021-07-27
  • 2022-12-23
  • 2021-12-26
  • 2021-09-25
猜你喜欢
  • 2022-12-23
  • 2021-08-19
  • 2022-12-23
  • 2022-01-03
  • 2021-12-21
  • 2022-12-23
相关资源
相似解决方案