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

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

With more points points are less poor visible in plot. Why?

Cornel
19-Tanzanite

With more points points are less poor visible in plot. Why?

Hi,

What is the reason that with N = 4000 I can see the points more pregnant, but with N = 5000 points are visible poor:

Cornel_0-1727339367536.png

Cornel_2-1727339570932.png

 

 

Cornel_1-1727339377692.png

Cornel_3-1727339585809.png

 

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:Cornel)


@Cornel wrote:

Hi,

What is the reason that with N = 4000 I can see the points more pregnant, but with N = 5000 points are visible poor:

 


That's one of the limitations of Primes 3D plot.

The maximum number allowed seems to be 4999, so you have to set N to 4997 or lower because you are plotting N+2 points (guess your range is supposed to only run up to N-1, not N? Maybe even N-2 if N should denote the number of points and not the number of iteration steps.)

 

Another limitation of Primes 3D plot is that it will completely refuse to plot more than 40000 points. 😞

 

EDIT:

These limits are per trace limits, so as a workaround you could split your data and create two (or more) traces. Of course you may format and color them the same 😉

Werner_E_0-1727366315021.png

 

View solution in original post

2 REPLIES 2
StuartBruff
23-Emerald III
(To:Cornel)

Possibly because around 5000 points is when Mathcad changes the 2D plot behaviour.

 

If the number of data points is less than 5000, Mathcad uses one pixel torepresent one data point.  If there are 5000 or more data points, then Mathcad uses one pixel to represent one or more (near coincident) data points.  

 

Another side effect of "density plotting" is that the available trace formatting options for Symbols are (none) or solid circle only.  I'm guessing that a further side effect of density plotting is that it reduces the symbol size to 1 pixel (although this doesn't seem to appear in Help), even though Line Thickness is still a valid option.

 

Stuart

 

 

Werner_E
25-Diamond I
(To:Cornel)


@Cornel wrote:

Hi,

What is the reason that with N = 4000 I can see the points more pregnant, but with N = 5000 points are visible poor:

 


That's one of the limitations of Primes 3D plot.

The maximum number allowed seems to be 4999, so you have to set N to 4997 or lower because you are plotting N+2 points (guess your range is supposed to only run up to N-1, not N? Maybe even N-2 if N should denote the number of points and not the number of iteration steps.)

 

Another limitation of Primes 3D plot is that it will completely refuse to plot more than 40000 points. 😞

 

EDIT:

These limits are per trace limits, so as a workaround you could split your data and create two (or more) traces. Of course you may format and color them the same 😉

Werner_E_0-1727366315021.png

 

Announcements

Top Tags