Skip to main content
19-Tanzanite
September 26, 2024
Solved

3d Plot problem

  • September 26, 2024
  • 1 reply
  • 786 views

Hi,

Cornel_0-1727349702189.png

 

Cornel_1-1727349717392.png

 

It should look something similar with:

Cornel_2-1727349855796.png

 

 

Best answer by terryhendicott

Capture.JPG

1 reply

21-Topaz II
September 26, 2024
25-Diamond I
September 26, 2024

Hmm, with your range variable you demand a precision of 20000 points, but odesolve by default has only a resolution of 1000 points!

So what you get to see is mostly the effect of (nonlinear) interpolation.

If you need a precision that high, you must also tell the solve block so by adding the last optional argument in "odesolve".

The difference is quite significant as you can see here:

Werner_E_0-1727370784611.png

 

I also prefer using "CreateSpace" instead of defining a range variable, but this may be a matter of personal preference.

Werner_E_0-1727361383712.png