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
引用
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 リリースの互換性
プラットフォームの互換性
Windows macOS Linuxカテゴリ
タグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!