From 46883a0c3a3c00127a563a7befa0af440573baaa Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Thu, 19 Jan 2017 11:22:08 +0100 Subject: Correct default y axis label for plot.one_box --- R/twa.R | 2 +- docs/reference/one_box-2.png | Bin 5783 -> 5599 bytes docs/reference/one_box-4.png | Bin 5587 -> 5426 bytes docs/reference/one_box-8.png | Bin 9860 -> 9671 bytes docs/reference/plot.one_box-2.png | Bin 5828 -> 5653 bytes docs/reference/plot.one_box-4.png | Bin 10603 -> 10315 bytes docs/reference/plot.one_box-8.png | Bin 13603 -> 13307 bytes docs/reference/plot.one_box.html | 2 +- docs/reference/sawtooth-2.png | Bin 6175 -> 6018 bytes docs/reference/sawtooth-6.png | Bin 13603 -> 13307 bytes man/plot.one_box.Rd | 2 +- 11 files changed, 3 insertions(+), 3 deletions(-) diff --git a/R/twa.R b/R/twa.R index 0e03baf..7fa6241 100644 --- a/R/twa.R +++ b/R/twa.R @@ -146,7 +146,7 @@ one_box.mkinfit <- function(x, ini = c("model", 1), ..., t_end = 100, res = 0.01 #' plot(pred_2_saw, max_twa = 21, max_twa_var = "m1") plot.one_box <- function(x, xlim = range(time(x)), ylim = c(0, max(x)), - xlab = "Time", ylab = "Fraction of initial", + xlab = "Time", ylab = "Residue", max_twa = NULL, max_twa_var = dimnames(x)[[2]][1], ...) { obs_vars <- dimnames(x)[[2]] diff --git a/docs/reference/one_box-2.png b/docs/reference/one_box-2.png index 84094b9..a43ff32 100644 Binary files a/docs/reference/one_box-2.png and b/docs/reference/one_box-2.png differ diff --git a/docs/reference/one_box-4.png b/docs/reference/one_box-4.png index 3c6dadb..63d59ff 100644 Binary files a/docs/reference/one_box-4.png and b/docs/reference/one_box-4.png differ diff --git a/docs/reference/one_box-8.png b/docs/reference/one_box-8.png index 897737e..963775a 100644 Binary files a/docs/reference/one_box-8.png and b/docs/reference/one_box-8.png differ diff --git a/docs/reference/plot.one_box-2.png b/docs/reference/plot.one_box-2.png index 1145f68..89b52df 100644 Binary files a/docs/reference/plot.one_box-2.png and b/docs/reference/plot.one_box-2.png differ diff --git a/docs/reference/plot.one_box-4.png b/docs/reference/plot.one_box-4.png index 9664c14..eeb88e3 100644 Binary files a/docs/reference/plot.one_box-4.png and b/docs/reference/plot.one_box-4.png differ diff --git a/docs/reference/plot.one_box-8.png b/docs/reference/plot.one_box-8.png index 161ecb4..6998974 100644 Binary files a/docs/reference/plot.one_box-8.png and b/docs/reference/plot.one_box-8.png differ diff --git a/docs/reference/plot.one_box.html b/docs/reference/plot.one_box.html index d75b465..4c3cb82 100644 --- a/docs/reference/plot.one_box.html +++ b/docs/reference/plot.one_box.html @@ -75,7 +75,7 @@
# S3 method for one_box
 plot(x, xlim = range(time(x)), ylim = c(0, max(x)),
-  xlab = "Time", ylab = "Fraction of initial", max_twa = NULL,
+  xlab = "Time", ylab = "Residue", max_twa = NULL,
   max_twa_var = dimnames(x)[[2]][1], ...)

Arguments

diff --git a/docs/reference/sawtooth-2.png b/docs/reference/sawtooth-2.png index e6ff97d..1270a14 100644 Binary files a/docs/reference/sawtooth-2.png and b/docs/reference/sawtooth-2.png differ diff --git a/docs/reference/sawtooth-6.png b/docs/reference/sawtooth-6.png index 161ecb4..6998974 100644 Binary files a/docs/reference/sawtooth-6.png and b/docs/reference/sawtooth-6.png differ diff --git a/man/plot.one_box.Rd b/man/plot.one_box.Rd index 8c8a301..a212c11 100644 --- a/man/plot.one_box.Rd +++ b/man/plot.one_box.Rd @@ -5,7 +5,7 @@ \title{Plot time series of decline data} \usage{ \method{plot}{one_box}(x, xlim = range(time(x)), ylim = c(0, max(x)), - xlab = "Time", ylab = "Fraction of initial", max_twa = NULL, + xlab = "Time", ylab = "Residue", max_twa = NULL, max_twa_var = dimnames(x)[[2]][1], ...) } \arguments{ -- cgit v1.2.1