mglib

Personal IDL library for M. Galloy

single page | use frames     summary     class     fields     routine details     file attributes

vis/util/

mg_force.pro

graphics computation


Spread data apart using a force directed algorithm.

Routines

top mg_force

result = mg_force(data [, min_distance=float] [, n_rounds=long])

Spread data apart using a simple algorithm.

Return value

fltarr

Parameters

data in required type=fltarr

input data to force apart

Keywords

min_distance in optional type=float default=1.0

min distance that items need to be separated by

n_rounds in optional type=long default=20L

number of times to run algorithm

File attributes

Modification date: Thu May 29 13:59:08 2014
Lines: 21
Docformat: rst rst
Personal library of Michael Galloy
Contact me if you have enhancement requests or bug fixes.