Hi all, Sorry for what might be a trivial issue. However, I am completely flummoxed! I'm making a filled contour plot for a publication. It's a continuous wavelet transform should anybody care. The problem I'm having is correctly demarking the ticks on the y axis. I have a matrix that has 100 columns. Every 10th column represents a power of 2. So: col[10] <- 2 col[20] <- 4 col[30] <- 8 and so on until col[100] <- 2^10 I'm having trouble scaling my plot accordingly. Can anybody help? I imagine that one uses the plot.axes argument but I'm having trouble figuring out how to do it. The matrix is already a log scale so the ticks and numbers are evenly spaced by 10. Thanks in advance, Andy Example: junk.mat <- matrix(rnorm(12800), 128, 100) xYears <- 1:nrow(junk.mat) yPeriod <- 1:ncol(junk.mat) filled.contour(xYears, yPeriod, junk.mat, color = terrain.colors) #? plot.axes = { axis(2, seq(??))} -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Hi all, Sorry for what might be a trivial issue. However, I am completely flummoxed! I'm making a filled contour plot for a publication. It's a continuous wavelet transform should anybody care. The problem I'm having is correctly demarking the ticks on the y axis. I have a matrix that has 100 columns. Every 10th column represents a power of 2. So: col[10] <- 2 col[20] <- 4 col[30] <- 8 and so on until col[100] <- 2^10 I'm having trouble scaling my plot accordingly. Can anybody help? I imagine that one uses the plot.axes argument but I'm having trouble figuring out how to do it. The matrix is already a log scale so the ticks and numbers are evenly spaced by 10. Thanks in advance, Andy Example: junk.mat <- matrix(rnorm(12800), 128, 100) xYears <- 1:nrow(junk.mat) yPeriod <- 1:ncol(junk.mat) filled.contour(xYears, yPeriod, junk.mat, color = terrain.colors) #? plot.axes = { axis(2, seq(??))} -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Hi all, Does any one know if there is Kalman Filter code or library in R. Thanks, Mohamed. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Tue, 19 Nov 2002, Andy Bunn wrote:> I'm having trouble scaling my plot accordingly. Can anybody help? I > imagine that one uses the plot.axes argument but I'm having trouble > figuring out how to do it. The matrix is already a log scale so the > ticks and numbers are evenly spaced by 10. > > Thanks in advance, Andy > > Example: > junk.mat <- matrix(rnorm(12800), 128, 100) > xYears <- 1:nrow(junk.mat) > yPeriod <- 1:ncol(junk.mat) > > filled.contour(xYears, > yPeriod, > junk.mat, > color = terrain.colors) > plot.axes = { axis(2, seq(??))}plot.axes={ axis(1); axis(2, at=10*(1:10),labels=2^(1:10))}) will do what I think you want. -thomas -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._