how to draw a directed graph ??

let p,q be two arrays containing x,y co-ordinate point's respectively .i wanna get a directed graph using these p,q arrays as my input ..but i tried this directed graph package but i don't wanna show the curvy nature of the directed graph ..the directed line should be in the form of a ray :)...help me with my problem :)

回答(1 个)

Josh Meyer
Josh Meyer 2015-9-11

0 个投票

With MATLAB R2015b you can create and plot graphs without any addons.
The doc page for graph plot has some examples showing how to plot directed graphs.

类别

在 帮助中心 和 File Exchange 中查找有关 Networks 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by