Thanks Mario and Jim 2010/4/13 jim holtman <jholt...@gmail.com>
> plot(x, ylim=range(c(x,y)), xlim=c(0,max(c(length(x),length(y)))) > > might work. > > On Tue, Apr 13, 2010 at 7:19 AM, Gustave Lefou <gustave5...@gmail.com>wrote: > >> Dear R users, >> >> I have two vectors : x and y. x takes negative values and y positive ones. >> >> I write : >> >> > plot(x) >> > lines(y) >> >> However because y takes positive values, I cannot see y. >> >> What can I do ? >> >> Thank you very much, >> Gustave >> >> [[alternative HTML version deleted]] >> >> ______________________________________________ >> 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<http://www.r-project.org/posting-guide.html> >> and provide commented, minimal, self-contained, reproducible code. >> > > > > -- > Jim Holtman > Cincinnati, OH > +1 513 646 9390 > > What is the problem that you are trying to solve? > [[alternative HTML version deleted]] ______________________________________________ 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.