title: how to draw curved line in Matlab
body: <p>I am drawing a plot that has N nodes and M edges. There can be an edge from node A to node B and also node B to A so I can't use straight line to draw both line. How can I make one of them curved in order to be distinguishable from the other one?here is my code to draw one straight line between j and k.</p>
  
  <p><code>line([Xloc(j) Xloc(k)], [Yloc(j) Yloc(k)], 'LineStyle', '-');</code></p>