I'm trying to write a program that plots the riemann zeta function

Click For Summary
The discussion centers on plotting the Riemann zeta function and the challenges of translating function values into visual darkness on a graph. The user initially divided the function's output by 10,000 to determine point darkness, resulting in a graph that resembled the ideal but lacked quality. There is a debate on whether to use a logarithmic or linear scale for this translation, with the consensus that the choice should align with the user's specific goals for the visualization. A logarithmic scale would highlight lower values, while a linear scale would represent the data more accurately. Ultimately, the effectiveness of the graph depends on the chosen scaling method.
LastTimelord
Messages
32
Reaction score
0
I saw a picture of what it might look like when I was researching it, but I'm confused about something. The picture's caption said that the complex coordinates were darkened as their value got larger, leading to a helpful graph, but I do not understand what scale they used. For my program, I just divided the result of the function by 10000, then used that number to set the darkness of the point, 0 being the darkest and 255 being the brightest. That resulted something that looked remotely similar to the ideal graph, but it really wasn't very decent. There was a slightly curved line going down around the imaginary axis, with a few brighter spots near it going down at regular intervals of about 5 units. (I'm sorry I don't have a picture, but it would be hard to get one).

Anyway- to the question:

What scale do you think I should use to translate the number returned from the function to darkness? Should it be logarithmic, or linear?
 
Physics news on Phys.org
This depends on your goal. A logarithmic scale emphasizes the low values, a linear scale is closer to the actual data. Such things are defined by the goal, not by the method.
 
Thread 'How to define a vector field?'
Hello! In one book I saw that function ##V## of 3 variables ##V_x, V_y, V_z## (vector field in 3D) can be decomposed in a Taylor series without higher-order terms (partial derivative of second power and higher) at point ##(0,0,0)## such way: I think so: higher-order terms can be neglected because partial derivative of second power and higher are equal to 0. Is this true? And how to define vector field correctly for this case? (In the book I found nothing and my attempt was wrong...

Similar threads

  • · Replies 10 ·
Replies
10
Views
5K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
4
Views
6K
Replies
8
Views
11K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 4 ·
Replies
4
Views
7K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
2
Views
6K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K