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).
Cite As
Francisco de Castro (2024). Plot Food Web (https://github.com/capahaddock/Ecology), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Data Import and Analysis > Data Import and Export > Web Access and Streaming > Web Services >
- Sciences > Geoscience >
- Sciences > Food Sciences >
- Sciences > Physics > Networks >
Tags
Acknowledgements
Inspired by: Patchline
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Versions that use the GitHub default branch cannot be downloaded
Version | Published | Release Notes | |
---|---|---|---|
1.4.0.3 | Connect to Github |
|
|
1.4.0.2 | Corrected detail in the help. |
||
1.4.0.1 | new figure |
||
1.4.0.0 | Add a new type of plot. Reorganize help |
||
1.3.0.0 | Use default color map if Brewer color function is not installed.
|
||
1.2.0.0 | Ability to specify variable line colors.
|
||
1.1.0.0 | Option to plot in 2D
|
||
1.0.0.0 |