Digraph with a single constrained axis
3 次查看(过去 30 天)
显示 更早的评论
I would like to visualize a 2-D graph where one dimension (x) is known. I would Matlab to optimize the other dimension automatically. Unfortunately, when specifying coordinates (xdata, ydata) both coordinates must be provided. Is there a work around where I could only specify xdata and the y-coordinate would be optimized algorithmically?
0 个评论
采纳的回答
Christine Tobler
2021-4-23
All algorithms for graph visualization that I'm aware of will compute both x and y (and sometimes z) coordinates for the nodes. The best I can suggest is to just use random numbers for the other axis.
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Graph and Network Algorithms 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!