Hi
I am having issues with the "size" function of geom_segment when designing my violin plots. I think the default lines are too thin. I tried three values as a test run:
size = 1.0
size = 0.3
size = 0.7
Then line remains the same thickness no matter what. I am not sure how I am using the code incorrectly. I tried looking here for some guidance
but it did not really help.
Here is some of my code:
YLD1<- {YLD + theme(text = element_text(size = 14)) +
+ ylab("Yield (kg/ha)")+
+ geom_segment(aes(x = 1 , y = 1921.66, xend = 1.3, yend= 1921.66,colour = "Overley", size =0.01))
+ geom_segment(aes(x = 1 , y = 1921.66, xend = 0.7, yend= 1921.66, colour = "Overley", size =0.01)) ....
So in this plot no matter how I changed the size the thickness was always the same.
Can you someone give some guidance?
Thanks
Rose