Skip to content

Commit

Permalink
Fixed handling of axis preferences in plot.biwavelet
Browse files Browse the repository at this point in the history
  • Loading branch information
tgouhier committed Jun 25, 2016
1 parent f3209ce commit bea1161
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/plot.biwavelet.R
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ plot.biwavelet <- function(x, ncol = 64, fill.cols = NULL,
if (class(x$xaxis)[1] == "Date" | class(x$xaxis)[1] == "POSIXct") {
if (xaxt != "n") {
xlocs <- pretty(x$t) + 1
axis(side = 1, at = xlocs, labels = format(x$xaxis[xlocs], form))
axis(side = 1, at = xlocs, labels = format(x$xaxis[xlocs], form, ...))
}
} else {
if (xaxt != "n") {
Expand Down

0 comments on commit bea1161

Please sign in to comment.