[R] Plot bar lines like excel

David Winsemius dwinsemius at comcast.net
Tue Aug 24 21:17:38 CEST 2010


On Aug 24, 2010, at 1:40 PM, abotaha wrote:

>
> Hello guys,
>
> I would to plot a bar line between to curves like in excel as shown  
> in the
> following image. but i do not know how I can do that in R.
> http://r.789695.n4.nabble.com/file/n2337089/excel_Plot.png
> any help would appreciate.
>

?segments

And note that supplying x0 will suffice in this instance since x1=x0.

For worked solutions, reproducible code is needed (as always stated in  
the message footers.)

-- 

David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list