An example script for the food web layout/edge bundling
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ConsoleProgressBar
InterPointDistanceMatrix
aggregate
catuneven
cellstr2
cprintf
divedgebundle
ecopathensemble
ecopathlite2
ewe6io
foodwebgraph
gauzensgroup
interparc
jsonlab-1.0
legendflex
mergestruct
minmax
parsepv
printtextarray
readtext
regexpfound
setgetpos_V1.2
singlepatch
usercolormap
vlookup
.gitignore
Generic_37.EwEmdb
README.md

README.md

DEPRECATED

Following major updates to both this tool and the ecopathlite (now ecopath_matlab) package included within it, this set of code has now been replaced by my foodwebgraph package.

Overview

This code supplements my poster from the 2016 Ocean Sciences Meeting, entitled "Visualizing ecosystem energy flow in complex food network graphs." I've also written a series of blog posts on my website (here, here, and here) which explain the theory behind this set of code, and go through an example of using it.

For additional information, please read the documentation in the headers of each .m file.

Installation

To download the code:

git clone git@github.com:kakearney/foodwebnetworkgraph-pkg.git

In Matlab, add all first-level child folders of the new foodwebnetworkgraph-pkg folder (except the .git folder) to your Matlab path:

tmp = regexp(genpath('foodwebnetworkgraph-pkg'), pathsep, 'split');
n = cellfun(@(x) length(regexp(x,filesep,'split')), tmp);
toadd = (n == 2) & cellfun('isempty', regexp(tmp, '\.git'));
addpath(tmp{toadd});

Follow the example from the blog post to get started.