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

Click For Summary
SUMMARY

The discussion focuses on plotting the Riemann zeta function and the challenges of visualizing its output effectively. The user initially divided the function's result by 10,000 to determine the darkness of the plotted points, resulting in a graph that lacked clarity. Participants suggest that the choice between a logarithmic and linear scale for translating function values to darkness should be based on the visualization's intended goal, emphasizing that the scale impacts the representation of low versus high values.

PREREQUISITES
  • Understanding of the Riemann zeta function and its significance in complex analysis.
  • Familiarity with data visualization techniques and color scaling.
  • Knowledge of programming for graphical output, particularly in languages like Python or JavaScript.
  • Experience with logarithmic versus linear scaling in data representation.
NEXT STEPS
  • Research techniques for visualizing complex functions using libraries like Matplotlib or D3.js.
  • Learn about color mapping and scaling methods in data visualization.
  • Explore the mathematical properties of the Riemann zeta function to enhance understanding of its graphical representation.
  • Investigate the impact of different scaling methods on data interpretation in visualizations.
USEFUL FOR

Mathematicians, data scientists, and software developers interested in visualizing complex functions and enhancing their graphical representation techniques.

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.
 

Similar threads

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