@@ -420,7 +420,7 @@ setMethod("dots", signature(x="SpatVector"),
420420 }
421421
422422 if (out $ zebra ) {
423- zebra(width = width , x = out $ axs $ xat , y = out $ axs $ yat )
423+ zebra(width = width , x = out $ axs $ xat , y = out $ axs $ yat , col = out $ zebra.col )
424424 out $ lim [1 : 2 ] <- out $ lim [1 : 2 ] + c(width [1 ], - width [1 ])
425425 out $ lim [3 : 4 ] <- out $ lim [3 : 4 ] + c(width [2 ], - width [2 ])
426426 }
@@ -451,7 +451,8 @@ setMethod("dots", signature(x="SpatVector"),
451451.prep.vect.data <- function (x , y , type = NULL , cols = NULL , mar = NULL , legend = TRUE ,
452452 legend.only = FALSE , levels = NULL , add = FALSE , range = NULL , fill_range = FALSE , breaks = NULL , breakby = " eqint" ,
453453 xlim = NULL , ylim = NULL , colNA = NA , alpha = NULL , axes = TRUE , buffer = TRUE , background = NULL ,
454- pax = list (), plg = list (), ext = NULL , grid = FALSE , zebra = FALSE , zebra.cex = 1 , las = 0 , sort = TRUE , reverse = FALSE , values = NULL ,
454+ pax = list (), plg = list (), ext = NULL , grid = FALSE , zebra = FALSE , zebra.cex = 1 , zebra.col = c(" black" , " white" ),
455+ las = 0 , sort = TRUE , reverse = FALSE , values = NULL ,
455456 box = TRUE , xlab = " " , ylab = " " , cex.lab = 0.8 , line.lab = 1.5 , yaxs = " i" , xaxs = " i" ,
456457 main = " " , cex.main = 1.2 , line.main = 0.5 , font.main = graphics :: par()$ font.main , col.main = graphics :: par()$ col.main , loc.main = NULL ,
457458 sub = " " , font.sub = 1 , cex.sub = 0.8 * cex.main , line.sub = 1.75 , col.sub = col.main , loc.sub = NULL ,
@@ -546,6 +547,7 @@ setMethod("dots", signature(x="SpatVector"),
546547 out $ box <- isTRUE(box )
547548 out $ zebra <- isTRUE(zebra )
548549 out $ zebra.cex <- zebra.cex
550+ out $ zebra.col <- zebra.col
549551
550552 out $ add <- isTRUE(add )
551553 out $ axes <- isTRUE(axes )
0 commit comments