[R] function plot.double (different data on the same plot)

Susana Barbosa susanabarbosa at novalis.fc.up.pt
Thu Jun 20 01:17:18 CEST 2002


Hi,

I would like to plot on the same graph vertical lines from points of two 
different data sets to the zero axis 
(x1,y1) and (x2,y2) (y1>0, y2<0)

I tried to use function plot.double from Anne York,

plot.double(x1, y1, x2, y2, type1="h", type2="h")

but I obtain two different zero axis, and I wanted 
to plot vertical lines from data points to the same zero axis

Any suggestions?

Thank you!


Susana Barbosa
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list