title: XY Plot with two y axis Matlab
body: <p>I'm trying to create an xy plot with two y axis. I have three sets of velocity data. Im trying to create a plot with one y axis showing the variation of velocity and the other y axis showing distance. Please see the attached image. However, each set of data was taken at one position as seen on the x axis. How to I do this?</p>
  
  <p><img src="https://i.stack.imgur.com/QHKEV.jpg" alt="Desired xy plot. You can see there are three curved lined representing the velocity data recorded. The y axis on the left shows the variation of velocity. The y axis on the left shows distance and the x axis shows the position where the data was recorded, ie 1,2 or 3."></p>
  
  <p>Regards, Jer </p>