Re: [R] can we visualize water flows with 3d in R?

2016-10-13 Thread Karline Soetaert
-help mailing list ; Karline Soetaert Subject: Re: [R] can we visualize water flows with 3d in R? On 13/10/2016 8:35 AM, Thomas Adams wrote: > All, > > Very respectfully, there are no R packages that can do what Marna desires. I would guess that's not literally true, in that the

Re: [R] Control color palette and legend in filled.contour

2014-09-19 Thread Karline Soetaert
<- ramp.col(c("blue", "red")) image2D(z = volcano, col = Col, xlab = "", contour = TRUE, colkey = list(side = 1, length = 0.5)) Hope it helps, Karline Soetaert >Original Message: 1 >Date: Wed, 17 Sep 2014 01:53:05 -0700 >From: "Thiago V. dos San

[R] Using axis limits with plot3D

2014-08-07 Thread Karline Soetaert
Hi Scott, The trick is to postpone plotting (plot = FALSE) and then do plotdev() with the required limits: library(plot3D) x <- z <- seq(-4, 4, by=0.2) y <- seq(-6, 6, by=0.2) M <- mesh(x,y,z) R <- with(M, sqrt(x^2 + y^2 +z^2)) p <- sin(2*R)/(R+1e-3) x.limits <- c(-2, 2) y.limits <- c(-2, 2) sli

[R] ode() tries to allocate an absurd amount of memory

2012-02-04 Thread Karline Soetaert
Thomas, It is a limitation of the function you are using. The method "vode" is an implicit method, meaning that it has to create and invert a matrix of the size = number of variables ^2. In your case, this is a full matrix of 33000 rows and columns. If your ODE is easy to solve, you might try t