Is it possible gplot to have different line size, any help appreciated too
Mostra commenti meno recenti
Is it possible gplot to have different line size. Assume I have xyz table, while the xy columns of coordinates and z column is describe size of line. It should be noted that connection table (i.e 0 or 1) is available since is mandatory for gplot function. Looking any recent knowledge as well as any help appreciated too
Risposta accettata
Più risposte (2)
Steven Lord
il 29 Set 2015
Don't use GPLOT. Use the new graph functionality in release R2015b instead. Take a look at the documentation for GRAPH for more information. When you plot a graph, you can change the sizes of individual edges independent of other edges. As a very simple example, create the Buckminster Fuller geodesic dome (soccer ball, buckyball) graph and plot it.
g = graph(bucky);
h = plot(g);
Now highlight the edges between node 6 and its neighbors by increasing the line width and making the edges red.
highlight(h, 6, neighbors(g, 6), 'LineWidth', 5, 'EdgeColor', 'r')
2 Commenti
Eng. Fredius Magige
il 30 Set 2015
Walter Roberson
il 30 Set 2015
R2010b does not support those functions; they are new as of R2015b.
Eng. Fredius Magige
il 24 Giu 2019
0 voti
Categorie
Scopri di più su Graph and Network Algorithms in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!