From c5c5cc01ce87c67fc8f9f4dbb3e1edd208d4017d Mon Sep 17 00:00:00 2001 From: jranke Date: Mon, 18 Feb 2013 08:36:38 +0000 Subject: - 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 --- R/plot.mkinfit.R | 3 ++- 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{ -- cgit v1.2.1