tgouhier / biwavelet

R package to conduct univariate and bivariate wavelet analyses
41 stars 17 forks source link

plot.biwavelet + zooming does not work properly #5

Open vsimko opened 8 years ago

vsimko commented 8 years ago

In RStudio (Version 0.99.489 on Linux Mint 17.1) when I run the following script:

library(biwavelet)
t1 <- cbind(1:100, rnorm(100))
t2 <- cbind(1:100, rnorm(100))

# Compute Cross-wavelet
xwt.t1t2 <- xwt(t1, t2)

# Plot cross-wavelet and phase difference (arrows)
plot(xwt.t1t2, plot.cb = TRUE, plot.phase = TRUE)

... and click the "zoom" icon in "Plots" tab. Then I see the following weird diagram: plot_xwt

vsimko commented 8 years ago

this may be related to issue #42

vsimko commented 8 years ago

Even after fixing the issue #42, the colorbar moves when I change the window size.

tgouhier commented 8 years ago

That's an upstream issue in the image.plot function and not something that we can easily address.