Edges length in a graph
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Light.16
am 30 Sep. 2016
Beantwortet: Steven Lord
am 30 Sep. 2016
Hello guys!
As you can see, i plotted a graph with Matlab 2016. I would like to know why Matlab shows some edges more long than other. Do you know why?
How can i modify these lenght?
thank you!!
:D
1 Kommentar
Adam
am 30 Sep. 2016
We can't see anything other than your question. Did you mean to attach an image?
Akzeptierte Antwort
Steven Lord
am 30 Sep. 2016
If you're talking about a graph or digraph object that you have plotted using the plot method, plot uses various layout methods to determine the coordinates where the nodes should be placed. See the documentation for the layout function for more information about the different layout methods plot can use.
If you want you can manually set the XData and YData (and if you're using release R2016b or later, the ZData) properties of the object returned by plot to place the nodes exactly where you want them to be rather than relying entirely on the coordinates returned by the layout methods.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!