Skip to content

dt = 10 lead to phase plot fail #72

@withr

Description

@withr

when I using time interval equal 10, I can't plot the phase for wtc, here is an example:

library(biwavelet)

n = 200
x = sin(seq(1, 10pi, length.out = n)) + rnorm(n)/10
y = cos(seq(1, 10
pi, length.out = n)) + rnorm(n)/10

plot(x, type = "l", col = "green"); lines(y, col = "red")

WC.1 <- wtc(cbind(1seq(1, n), x), cbind(1seq(1, n), y))

plot(WC.1, plot.phase = TRUE)

WC.10 <- wtc(cbind(10seq(1, n), x), cbind(10seq(1, n), y))

plot(WC.10, plot.phase = TRUE)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions