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]]

______________________________________________
R-help@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.

Reply via email to