aboutsummaryrefslogtreecommitdiff
path: root/R/plot.mkinfit.R
diff options
context:
space:
mode:
authorjranke <jranke@edb9625f-4e0d-4859-8d74-9fd3b1da38cb>2013-02-16 21:15:52 +0000
committerjranke <jranke@edb9625f-4e0d-4859-8d74-9fd3b1da38cb>2013-02-16 21:15:52 +0000
commit329dadc5fd557cbeec0d1f3a6db57b6b4d6f41d4 (patch)
tree8159a9ba673fc6c150a92748e142697c845ece1d /R/plot.mkinfit.R
parente6ba7af29db678ef437e7f8301299ec18f4c66a4 (diff)
- Some maintenance fixes
- Start of the examples vignette git-svn-id: svn+ssh://svn.r-forge.r-project.org/svnroot/kinfit/pkg/mkin@61 edb9625f-4e0d-4859-8d74-9fd3b1da38cb
Diffstat (limited to 'R/plot.mkinfit.R')
-rw-r--r--R/plot.mkinfit.R4
1 files changed, 2 insertions, 2 deletions
diff --git a/R/plot.mkinfit.R b/R/plot.mkinfit.R
index 1858aa8a..b47678ba 100644
--- a/R/plot.mkinfit.R
+++ b/R/plot.mkinfit.R
@@ -1,8 +1,8 @@
plot.mkinfit <- function(x, fit = x,
xlab = "Time", ylab = "Observed",
- xlim = range(fit$data$time), ylim = range(fit$data$observed, na.rm = TRUE),
+ 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 = rep(1, length(fit$mkinmod$map)),
+ pch_obs = col_obs, lty_obs = 1,
add = FALSE, legend = !add, ...)
{
solution_type = fit$solution_type

Contact - Imprint