Edges length in a graph

3 ビュー (過去 30 日間)
Light.16
Light.16 2016 年 9 月 30 日
回答済み: Steven Lord 2016 年 9 月 30 日
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 件のコメント
Adam
Adam 2016 年 9 月 30 日
We can't see anything other than your question. Did you mean to attach an image?

サインインしてコメントする。

採用された回答

Steven Lord
Steven Lord 2016 年 9 月 30 日
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 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by