-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
<- 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
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
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
4 matches
Mail list logo