Aer you asking how to have more bars on the axis ?
That can be controlled using:
barplot(stuff,  br = 50) # br can be other numbers according to needs.
The vertical line can be done with:
abline(v=20) # You may change 20

There are other elements to the plot to reproduce, but is this enough for
your needs?

Tal


----------------Contact
Details:-------------------------------------------------------
Contact me: Tal.Galili@gmail.com |  972-52-7275845
Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) |
www.r-statistics.com (English)
----------------------------------------------------------------------------------------------




On Wed, Apr 14, 2010 at 7:45 AM, bbslover <dluthm@yeah.net> wrote:

>
> I want to get the plot like this,
>
> http://n4.nabble.com/file/n1839303/%25E9%25A2%2591%25E7%258E%2587%25E5%2588%2586%25E5%25B8%2583%25E5%259B%25BE%25E6%25A0%2587%25E5%2587%2586.jpg
> %E9%A2%91%E7%8E%87%E5%88%86%E5%B8%83%E5%9B%BE%E6%A0%87%E5%87%86.jpg
>
> not this, http://n4.nabble.com/file/n1839303/R.jpg R.jpg
>
> and  the data here, thank you!   http://n4.nabble.com/file/n1839303/y1.txt
> y1.txt
>
> can R deal with this problem?  how can I do?
> --
> View this message in context:
> http://n4.nabble.com/how-can-I-plot-the-histogram-like-this-using-R-tp1839303p1839303.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> 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.
>

	[[alternative HTML version deleted]]

