[R] Remove the border/frame in a dotplot()
stéphanie braun
stepbraun at yahoo.com
Sat Nov 29 22:59:14 CET 2014
Dear listmembersI wouldlike to remove in a dotplot() the border/frame from the figure and only keepthe x- and y-axis. I can’t find a way to do this. bty="n" does notwork. Can somebody help? I include the r coding for my figure below. dotplot(plant_species ~ mean, data =botany, aspect= 1.5, scales=list(x=list(tck=c(-1,0)),y = list(tck=c(-1,0))), ylab= "Plant species", xlim= c(-1.1, 1.1), xlab= "Electivity index",prepanel = NULL, panel= function (x, y) { panel.abline(v=0) panel.xyplot(x,y, pch = 16, col = "black") panel.segments(botany$lower,as.numeric(y), botany$upper,as.numeric(y), lty = 1, col = "black")}
Thank you!Stéphanie
[[alternative HTML version deleted]]
More information about the R-help
mailing list