Changeset 597 for mds-and-trees
- Timestamp:
- 08/24/16 03:54:42 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
mds-and-trees/mds_plot.py
r596 r597 71 71 72 72 73 def main(filename, dimensions=3, outname="", jitter=0, separator='\t'):73 def main(filename, dimensions=3, outname="", jitter=0, separator='\t'): 74 74 distances = read_file(filename, separator) 75 75 embed = compute_mds(distances, dimensions) … … 83 83 embed = np.array([np.insert(e, 0, 0, axis=0) for e in embed]) 84 84 85 plot(embed, dimensions )85 plot(embed, dimensions, jitter, outname) 86 86 87 87
Note: See TracChangeset
for help on using the changeset viewer.