lattice2.eps : another Harmonic Lattice Diagram -- this example shows 8-tone harmonic, with all links of length 1 in various directions (in landscape view).
The lines changed in the original file to get the variation are shown below, with the changes shown in red type.% WINDOW LIMITS, your coordinate system % left x, bottom y, right x, top y: (set big enough to fit whole diagram) -1.2 -1.2 2.2 1.2 % this example shows 8-tone harmonic, with all links of length 1 in various directions. /primes [ 3 5 7 11 13 ] def % specify coordinates for each prime harmony /coords [ [1 0] [0 1] [-.707 .707] [.5 -.866] [-.9165 -.4] ] def /scl [ 1 1 9 8 5 4 11 8 3 2 13 8 7 4 15 8 ] def /offsets [ ] def %label offsets /doland true def % true means rotate 90 deg. (landscape orientation)
last updated 1999 Aug 7
David Canright -- DCanright@NPS.edu