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 CenterFile Exchange에서 2-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