Hello,

I have a very simple question about "2 barplots in the same graph".

It seems quite easy, but I searched google for long time, haven't find
solution.

For example, I want one graph like:
x1=seq(0,2,by=0.3)
x2=seq(3,0,by=-0.1)
barplot(x1,col="red")
barplot(x2,col="green")

It means if it's on the same graph, some bars are overlaped.
So if the bars are hollow, instead of filled with color, it will be better.

Actually, I think it's something similar with matlab's "hold on" command.

Thanks!

Nina

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

Reply via email to