diff options
author | Suraj Yerramilli | 2015-06-06 11:44:03 +0530 |
---|---|---|
committer | Suraj Yerramilli | 2015-06-06 11:44:03 +0530 |
commit | c12a9d9e318ada984928dc7e540b826f1d197bea (patch) | |
tree | a5f4b1dae7e35a171be818fa078c851cb0969d63 | |
parent | a48980a3490527bff9392ea98d86b3bd10d366fa (diff) | |
download | SysID-R-code-c12a9d9e318ada984928dc7e540b826f1d197bea.tar.gz SysID-R-code-c12a9d9e318ada984928dc7e540b826f1d197bea.tar.bz2 SysID-R-code-c12a9d9e318ada984928dc7e540b826f1d197bea.zip |
Changed default plot parameters
-rw-r--r-- | R/idframe.R | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/R/idframe.R b/R/idframe.R index 94886af..2c85a42 100644 --- a/R/idframe.R +++ b/R/idframe.R @@ -79,7 +79,8 @@ idframe <- function(output=NULL,input=NULL, #' plot(distill,col="blue") #' #' @export -plot.idframe <- function(object,...){ +plot.idframe <- function(object,par=list(mar=c(3,4,3,2)), + col="steelblue",...){ if(object$type=="frequency"){ p <- dim(object$output)[2];m <- dim(object$input)[2] @@ -114,8 +115,7 @@ plot.idframe <- function(object,...){ } datats <- ts(data,start=object$t.start,end=object$t.end, frequency=floor(1/object$Ts)) - par(mar=c(3,4,3,2)) - tfplot(datats,...) + tfplot(datats,par=par,col=col,...) } } |