March 25, 2007

graph drawing experiments

So, I'm in a "computer data structures" class and it's graphs and trees, trees and graphs... These are screengrabs from a java app to draw graphs. I wanted to do it myself first, but I've found two graphing libraries I may be able to switch to (GINY and JUNG).








This is the "Explore" window in the Trochoid app. Notice the center pattern is garbage compared to the others. The pattern in the center is where all the circles of the trochoid cancel out, putting the entire curve into the point <0,0>. In this window the drawing function tries to scale the pattern to fit it's place, but in the case of a point the scale becomes infinity and all the numbers go wack.

No comments: