@@ -17,7 +17,8 @@ plot.fdPar <- function(x, y, Lfdobj=0, href=TRUE, titles=NULL,
17
17
18
18
plot.fd <- function (x , y , Lfdobj = 0 , href = TRUE , titles = NULL ,
19
19
xlim = NULL , ylim = NULL , xlab = NULL ,
20
- ylab = NULL , ask = FALSE , nx = NULL , axes = NULL , ... ) {
20
+ ylab = NULL , ask = FALSE , nx = NULL , axes = NULL ,
21
+ ... ) {
21
22
22
23
# -----------------------------------------------------------------------
23
24
# plot for fd class
@@ -40,7 +41,7 @@ plot.fd <- function(x, y, Lfdobj=0, href=TRUE, titles=NULL,
40
41
# must be set up before calling plot by using something such as
41
42
# par(mfrow=c(1,nvar),pty="s")
42
43
43
- # last modified 16 January 2020
44
+ # last modified 2022-02-18 by Spencer Graves
44
45
45
46
# #
46
47
# # 1. Basic checks
@@ -186,7 +187,8 @@ plot.fd <- function(x, y, Lfdobj=0, href=TRUE, titles=NULL,
186
187
if (! ask ) {
187
188
matplot(y , fdmat , type = " l" ,
188
189
xlim = xlim , ylim = ylim ,
189
- xlab = xlab , ylab = ylab , axes = Axes )
190
+ xlab = xlab , ylab = ylab , axes = Axes ,
191
+ ... )
190
192
if (axFun )
191
193
do.call(axList [[1 ]], axList [- 1 ])
192
194
# Ramsay 2008.08.26
@@ -230,7 +232,8 @@ plot.fd <- function(x, y, Lfdobj=0, href=TRUE, titles=NULL,
230
232
for (ivar in 1 : nvar ) {
231
233
matplot (y , fdmat [,,ivar ], type = " l" ,
232
234
xlim = xlim , ylim = ylim ,
233
- xlab = xlab , ylab = ylab , ask = FALSE , axes = Axes , ... )
235
+ xlab = xlab , ylab = ylab , ask = FALSE , axes = Axes ,
236
+ ... )
234
237
if (axFun )
235
238
do.call(axList [[1 ]], axList [- 1 ])
236
239
if (! is.null(varnames )) title(varnames [ivar ])
@@ -253,7 +256,7 @@ plot.fd <- function(x, y, Lfdobj=0, href=TRUE, titles=NULL,
253
256
if (axFun )
254
257
do.call(axList [[1 ]], axList [- 1 ])
255
258
if (! is.null(casenames )) titlestr = casenames [irep ]
256
- else titlestr = paste(" Case" ,irep )
259
+ else titlestr = paste(" Case" ,irep )
257
260
if (! is.null(varnames )) {
258
261
titlestr = paste(titlestr ," " ,varnames [ivar ])
259
262
} else {
0 commit comments