[xOut, yOut] = interconnections(x, y)
Given a set of x and y coordinates, this produces the matrix of x and y values needed to plot all interconnected lines by using plot(xOut, yOut).
[~, ~, h] = interconnections(x, y, true);
Draws all interconnected lines on the current axis and outputs the line object handles.
Adam Danz (2021). interconnections (https://www.mathworks.com/matlabcentral/fileexchange/73358-interconnections), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!