© Copyright 2000-2020 Source Code Online. Free Source Code and Scripts Downloads.
File ID: 66714
|User Rating:|| (1 rating)|
Dendrogram drawing Description
Description: This recipe draws a dendrogram (horizontal format used for evolutionary trees), as ASCII text, given as input a binary tree in the form of a tuple for each tree node. Tree leaves can be any Python object other than a length-2 tuple, and are converted to strings in the output. Tree nodes at the same distance from the root will line up at the same column, with the distance between tree levels controlled by an optional "sep" parameter. The algorithm works by a straightforward inorder traversal, keeping some simple data structures to keep track of the tree edges that need to be drawn on each output line. Its output is via print statements but it could easily be modified to send its output lines to any other kind of stream.
|More Similar Code|
The drawing component of the WStar program. It looks nice but serves no particular purpose.
Simple function for drawing a rectangle in a gray image. Good for beginners.
The Drawing API is an abstract graphic handling API, and ships with SVG toolkit by default. It was originally written as a 2007 Google Summer of Code project. The aim of this module is to provide a parser for a FAPI-like data architecture for...
Giza is a drawing library that provides a 2D interactive canvas using rcairo. Above the drawing capabilities of cairo, Giza adds handling for user interaction and events and a clean, object oriented design.
Flash Drawing is a tutorial that teaches how to use the tools in the flash toolbar for drawing a flash animation. The tutorial describes the properties of each and every tool in the tool bar elaborately. By the end of this tutorial, the beginner...
Graph Drawing Class is an application in PHP. You can create multiple type of charts like area chart, point chart, line chart, bar graphs and pie charts. Some illustrated examples are given to the viewers about how the script works on the website....
Chalkboard Drawing is a multi-platform compatible script that uses eventhandlers to turn the table data elements background color to white or black.
Reversi Board program code demonstrates the drawing of a 3d Reversi board.
Join The Dots Game challenges you to remake a drawing by joining marked dots. The script is very easy to install.
Join The Dots Game is compatible with all Flash enabled web browsers.
sometimes, you want an image that contains text, instead of manually drawing 1s and 0s , this functino takes a string and returns a matrix of 1s and 0s in the form of that string. (tjhe matrix is rectangular the text string is represented as being...
|User Review for Dendrogram drawing
All files and free downloads are copyright of their respective owners. We do not provide any hacked, cracked, illegal, pirated version of scripts, codes, components downloads. All files are downloaded from the publishers website, our file servers or download mirrors. Always Virus check files downloaded from the web specially zip, rar, exe, trial, full versions etc. Download links from rapidshare, depositfiles, megaupload etc not published.