[R] Problem with x labels of barplot

Don dnasseh at googlemail.com
Thu Jul 14 13:51:04 CEST 2011


Hello everyone,
i am currently creating a barplot.
This barplot takes a vector of ~200 datapoints. 

Each datapoint represents one bar.
http://img96.imageshack.us/i/human1w.png/
(Ok as you see, it is not only one barplot, but a series of barplots).

Now, these barplots represent a human chromosome. This means they are
ordered. For instance bar number 50, means position 50 in the human
chromosome. I would like to have x-axis labels showing this. 
0.......................50..........................100.......................150........................200...................250
Yet i do not know how to accomplish this.
If you use the normal plot function, these numbers on the xaxis are
autogenerated, in case of a barplot, they are not, and i do not know how to
create these labels.

I would be happy about a solution.

--
View this message in context: http://r.789695.n4.nabble.com/Problem-with-x-labels-of-barplot-tp3667337p3667337.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list