Monday, 8 March 2010

Dot Plot Version One

Version One

It only took an hour to get this up and running and showing plots remarkably like those on Jonathan Helfman's web site.

This version compares two files. The essential internal features are:

  • Uses Split() to tokenise using space as the only delimiter. This is reasonably fast but doesn't tokenise in the accepted manner for compiler enthusiasts. Nonetheless it produces remarkable good results because even when an identifier is not separated froma following
  • Produces a vector for each of the two input files containing the tokens in the order that they occur in the file,
  • Plots by comparing the vectors in two nested loops. Yes I know its slow.

No comments:

Post a Comment

Blog Archive

Followers