Dimitri Liakhovitski
2013-Oct-30 18:11 UTC
[R] ggplot2 - how to get rid of bar boarder lines
Hello!
I am using ggplot2:
ggplot(myplotdata, aes(x=att_levels, y=WTP)) +
geom_bar(stat="identity",fill="dark
orange",colour="black",
alpha = 1,position = "identity") +
geom_text(aes(label=WTP),colour="black",size=4,hjust=1.1,position='dodge')
+
coord_flip() +
xlab("") +
ylab("")
How could I get rid of the border lines on the bars (just leave the fill,
but no border)?
Thank you!
--
Dimitri Liakhovitski
[[alternative HTML version deleted]]
At a guess, don't use colour. John Kane Kingston ON Canada> -----Original Message----- > From: dimitri.liakhovitski at gmail.com > Sent: Wed, 30 Oct 2013 14:11:37 -0400 > To: r-help at r-project.org > Subject: [R] ggplot2 - how to get rid of bar boarder lines > > Hello! > > I am using ggplot2: > > ggplot(myplotdata, aes(x=att_levels, y=WTP)) + > geom_bar(stat="identity",fill="dark > orange",colour="black", > alpha = 1,position = "identity") + >geom_text(aes(label=WTP),colour="black",size=4,hjust=1.1,position='dodge')> + > coord_flip() + > xlab("") + > ylab("") > > How could I get rid of the border lines on the bars (just leave the fill, > but no border)? > Thank you! > > -- > Dimitri Liakhovitski > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.____________________________________________________________ GET FREE SMILEYS FOR YOUR IM & EMAIL - Learn more at http://www.inbox.com/smileys Works with AIM?, MSN? Messenger, Yahoo!? Messenger, ICQ?, Google Talk? and most webmails