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

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 2K views
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