paulfitz / cosmicos

Sending the lambda calculus into deep space
https://cosmicos.github.io/
GNU General Public License v2.0
134 stars 8 forks source link

Zipf's law and Graphical Representation, also some debugging #12

Closed joha2 closed 8 years ago

joha2 commented 8 years ago

For analysis Zipf's law and a graphical representation might be useful. Maybe some other measures are also useful (Noise spectrum and things like that).

alanfwilliams commented 8 years ago

Looks good. Two questions:

  1. Why is the show() within showGraphicalRepresentation commented out?
  2. Could you add some examples of the output/plot to a new wiki page? (optional)
joha2 commented 8 years ago

The plt.show() is commented out because there are two possibilities to plot this matrix: The first by using plt.plot (which usually interpolates between the different Z values) and the second by using imshow. Since in imshow one can control the interpolation and we want to plot a two-dimensional matrix as image I would prefer imshow. I will add some graphics to a wiki page.