Change size of a line plot, understand how the size argument works

后端 未结 2 548
一生所求
一生所求 2021-01-23 18:56

I\'m making a multiple lines plot with errorbars. If I don\'t use the size argument, everything is fine:

# sample data
Response=runif(4)
ResponseMin         


        
2条回答
  •  孤城傲影
    2021-01-23 19:26

    If you set size inside aes you are mapping it to a variable

    `1` = 1
    

    and ggplot2 creates a legend. If you just want to set the size, you can do that outside of aes:

    geom_line(aes(group=Case), size = 1)
    

提交回复
热议问题