Hello,
I have used the following data to draw my barplot:
BL LR Q
36.35 1.00 1.92
36.91 4.00 0.00
25.70 6.00 0.00
34.38 3.00 1.92
05.32 0.50 0.00
BL<-c(36.35, 36.91, 25.70, 34.38, 05.32)
LR<-c(1.00, 4.00, 6.00, 3.00, 0.50)
Q<-<(1.92, 0.00, 0.00, 1.92, 0.00)
barplot(dt$LR, main='LR Value', col='orange', border='black', space=0.05,
width=(dt$BL), xlab='Length', ylab='LR')
axis(1)
I would like to do the following things that I don't know how to do it:
1) Writing the value of each 'BL' on my X axis.
2) Writing the value of 'Q' on the bottom of X axis.
3) Draw a line on the bars which connects the 'LR' values.
I appreciate your comments.
Thanks,
Mohsen
[[alternative HTML version deleted]]
______________________________________________
[email protected] 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.