aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjranke <jranke@edb9625f-4e0d-4859-8d74-9fd3b1da38cb>2013-02-18 08:36:38 +0000
committerjranke <jranke@edb9625f-4e0d-4859-8d74-9fd3b1da38cb>2013-02-18 08:36:38 +0000
commitc5c5cc01ce87c67fc8f9f4dbb3e1edd208d4017d (patch)
treef7a5ce0bd42375651c8cc09bf7646335aca75565
parent3621ee276c52fd3e5a845f40b43bf0fe8e3416c8 (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.R3
-rw-r--r--man/plot.mkinfit.Rd3
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{

Contact - Imprint