Network Visualizer with colored properties
Assume that we have a network with N nodes and M links:
Connections is a Mx2 array containing the id of nodes that are located at two ends of each link
Centers is a Nx3 array containing x,y, and z coordinates of each node
Property is Nx1 or Mx1 array that can be visualized on the network by colors
if you give the node properties, he code will interpolate it for links and vice versa.
If you are using this code in your research feel free to cite this paper:
Rabbani, A., & Babaei, M. (2019). Hybrid pore-network and lattice-Boltzmann permeability
modelling accelerated by machine learning. Advances in Water Resources, 126, 116-128.
Check out my tutorial videos on porous material modeling via Matlab on youtube:
https://www.youtube.com/playlist?list=PLaYes2m4FtR3DBM7TIb6oOZYI-tG4fHLd
by Arash Rabbani
rabarash@yahoo.com
www.arashrabbani.com
Cite As
Rabbani, A., & Babaei, M. (2019). Hybrid pore-network and lattice-Boltzmann permeability modelling accelerated by machine learning. Advances in Water Resources, 126, 116-128.
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
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.