lighter vertical line on filaments plot
[talweg.git] / pkg / R / plot.R
index 2ef9074..372abf0 100644 (file)
@@ -192,7 +192,7 @@ computeFilaments <- function(data, index, limit=60, plot=TRUE)
                }
                # Also plot ref curve, in red
                plot(ref_serie, ylim=yrange, type="l", col="#FF0000", xlab="", ylab="")
-               abline(v=24, lty=2, col=colors()[56])
+               abline(v=24, lty=2, col=colors()[56], lwd=1)
        }
 
        list("index"=index,"neighb_indices"=fdays[sorted_distances$ix[1:nn]],"colors"=colors)
@@ -224,6 +224,7 @@ plotFilamentsBox = function(data, fil, ...)
        par(new=TRUE)
        plot(c(data$getSerie(fil$index),data$getSerie(fil$index+1)), type="l", lwd=2, lty=2,
                ylim=c(usr[3] + yr, usr[4] - yr), xlab="", ylab="")
+       abline(v=24, lty=2, col=colors()[56])
 }
 
 #' Plot relative conditional variability / absolute variability