plotting points on a graph at equal distances

I have a connected weighted graph with multiple edges.Traversing as in a euler tour, I have to partition the edges into equal intervals and get the x and y coordinates of these points on the graph. Interval length is fixed and given. Using the euler tour, i am trying to plot the points on the edges, but i am unable to get the coordinates correctly on the graph. I am using while loop and plot function but i am unable to adjust many conditions inside the loop. Can anyone please give some suggestions?

답변 (0개)

카테고리

질문:

2019년 7월 18일

댓글:

2019년 7월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by