cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

3d Plot problem

Cornel
19-Tanzanite

3d Plot problem

Hi,

Cornel_0-1727349702189.png

 

Cornel_1-1727349717392.png

 

It should look something similar with:

Cornel_2-1727349855796.png

 

 

ACCEPTED SOLUTION

Accepted Solutions

2 REPLIES 2

Capture.JPG

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

 

Announcements

Top Tags