Hi everybody,
well I'm trying to use barplot for the first time. I get a suitable graphic but 
I'm having a weird problem.
My graphic is generated from a matrix with several species (rowNames) and two 
abundance columns.
So each species will have two bars, and the species name should appear at left. 
Until now everything is Ok, but when a I plot it the species names (my labels) 
are cut by device limits, and only part of the names appear.
I could move them with the command "line=some negative value", but the axis (x 
and y) stay put and the things get over each other (the command 'line' works, 
but a error saying that it's not a graphic parameter appears). In addition, but 
with less importance, how could I remove the legend borders? And why, when I 
try use the 'width' command it fails to raise the width of the bars and I get 
and error saying that its not a graphic parameter (the command is in barplot 
help!!)?

I'm using R 2.8.0 at Windows XP 32 bits.

Here is the code I'm using, where MainSpp is my matrix:

barplot(MainSpp,horiz=T,beside=T,main='Main Species',xlab='%',las=1,
legend.text=T,width=5,cex.names=0.8)

Thank you for your attenction.
___________________________________
MSc. Rodrigo Aluizio
Centro de Estudos do Mar/UFPR
Laboratório de Micropaleontologia
Avenida Beira Mar s/n - CEP 83255-000
Pontal do Paraná - PR - BRASIL

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