Re: [R] Quantmod abline and axis configuration

2016-04-09 Thread Joshua Ulrich
On Sat, Apr 9, 2016 at 2:14 PM, bgnumis bgnum wrote: > Hi all, > > I have this code > > > I want to add two ablines like this > > abline(h=2400, lty=3, col="lightgrey") > > abline(h=400, lty=3, col="lightgrey") > > But doesnt wotk. > Use addLines(). It does what abline() does, although you cannot

[R] Quantmod abline and axis configuration

2016-04-09 Thread bgnumis bgnum
Hi all, I have this code I want to add two ablines like this abline(h=2400, lty=3, col="lightgrey") abline(h=400, lty=3, col="lightgrey") But doesnt wotk. I alo try to set ylim from 0 to max "Foa"+1000 but I´m not able ¿Is it posible? require(latticeExtra) require(ggplot2) require(reshape