title: Draw curve between two points
body: <p>I would like to know how people draw the graphs like below.
  I have multiple location points. 
  I need to connect two locations by a curve. (Not by line) Any idea how to achieve this? In MATLAB I did not find any in-built function.</p>
  
  <p><a href="https://i.stack.imgur.com/VlA0G.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VlA0G.gif" alt="enter image description here"></a></p>