diff options
author | jranke <jranke@edb9625f-4e0d-4859-8d74-9fd3b1da38cb> | 2013-02-18 08:36:38 +0000 |
---|---|---|
committer | jranke <jranke@edb9625f-4e0d-4859-8d74-9fd3b1da38cb> | 2013-02-18 08:36:38 +0000 |
commit | c5c5cc01ce87c67fc8f9f4dbb3e1edd208d4017d (patch) | |
tree | f7a5ce0bd42375651c8cc09bf7646335aca75565 | |
parent | 3621ee276c52fd3e5a845f40b43bf0fe8e3416c8 (diff) |
- Fix the line types in plot.mkinfit again.
git-svn-id: svn+ssh://svn.r-forge.r-project.org/svnroot/kinfit/pkg/mkin@64 edb9625f-4e0d-4859-8d74-9fd3b1da38cb
-rw-r--r-- | R/plot.mkinfit.R | 3 | ||||
-rw-r--r-- | man/plot.mkinfit.Rd | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/R/plot.mkinfit.R b/R/plot.mkinfit.R index fa1d805..fc8ecf7 100644 --- a/R/plot.mkinfit.R +++ b/R/plot.mkinfit.R @@ -25,7 +25,8 @@ plot.mkinfit <- function(x, fit = x, xlab = "Time", ylab = "Observed", xlim = range(fit$data$time), ylim = c(0, max(fit$data$observed, na.rm = TRUE)), col_obs = 1:length(fit$mkinmod$map), - pch_obs = col_obs, lty_obs = 1, + pch_obs = col_obs, + lty_obs = rep(1, length(fit$mkinmod$map)), add = FALSE, legend = !add, ...) { solution_type = fit$solution_type diff --git a/man/plot.mkinfit.Rd b/man/plot.mkinfit.Rd index 56ee551..7c23eb8 100644 --- a/man/plot.mkinfit.Rd +++ b/man/plot.mkinfit.Rd @@ -11,7 +11,8 @@ \usage{ \method{plot}{mkinfit}(x, fit = x, xlab = "Time", ylab = "Observed", xlim = range(fit$data$time), ylim = c(0, max(fit$data$observed, na.rm = TRUE)), - col_obs = 1:length(fit$mkinmod$map), pch_obs = col_obs, lty_obs = 1, + col_obs = 1:length(fit$mkinmod$map), pch_obs = col_obs, + lty_obs = rep(1, length(fit$mkinmod$map)), add = FALSE, legend = !add, ...) } \arguments{ |