PLOTFOODWEB makes it easy to produce beautiful 3D or 2D figures of ecological food webs. The only required argument is the adjacency matrix of predator-prey connections. Sizes, colors, trophic levels, and the spatial arrangement can be specified as optional arguments. The submission figure shows three possibilities. In the top-left is the default type. The top-right is high-quality with random arrangement and the size of spheres as a function of the Log of body mass. At the bottom, a biplot where species are arranged according to mass (X-axis) and trophic level (Y-axis).
Francisco de Castro (2023). Plot Food Web (https://github.com/capahaddock/Ecology), GitHub. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired by: Patchline
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Versions that use the GitHub default branch cannot be downloaded
Connect to Github
Corrected detail in the help.
Add a new type of plot. Reorganize help
Use default color map if Brewer color function is not installed.
Ability to specify variable line colors.
Option to plot in 2D