X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=pkg%2FR%2Fplot.R;h=372abf0a99e086cceb9fec1dc5f9da9c5907da90;hb=6d50a76fc27236cb056a479be395ebe467666c8b;hp=2ef9074aedbe1b7115dc8958d15aa93d1b67623d;hpb=a5a3a294279ad55df6241426be8bcf9546aa402b;p=talweg.git diff --git a/pkg/R/plot.R b/pkg/R/plot.R index 2ef9074..372abf0 100644 --- a/pkg/R/plot.R +++ b/pkg/R/plot.R @@ -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