[R] Bar plot with variable width (down a drill hole)?

Phillip J. Allen paallen at attglobal.net
Tue Mar 25 17:56:27 CET 2003

Hi all,

I am trying to make a bar plot of  observations along a line or 
specifically a drill hole with the bars widths representing the interval 
of the observation and the length of the bar the actual data.  My data 
is in the following format:

from(m)        to(m)        Intensity of silicification
0                    1.2            0
1.2                  4.0            1
4.0                   4.2            3
4.2                    5.0           2
5.0                    25            1
25.0                    30.1        0
30.1                    36.2         2

Is the barplot() function what I really want to use?

Thanks for any help.

Phillip J. Allen
Consulting Geochemist/Geologist
Lima Peru
e-mail: paallen at attglobal.net

More information about the R-help mailing list