title: MATLAB 3D Plotting of Curves
body: <p>I have 2 variables that I'm trying to graph and I can't figure out what functions to use in order to get the desired graph that I want. For example, I have a variable Depth which is a 70x12 matrix full of numbers. 12 is for each month of the year. I'm trying to graph Depth against Temperature which is also a 70x12 matrix full of numbers. The current way I am doing this is by using plot3 in a for loop with hold on and plotting each Depth vs Temperature curve separated by 1 on the z-axis. That looks like this:</p>
  
  <p><img src="https://i.stack.imgur.com/LUL6X.jpg" alt=""></p>
  
  <p>And when rotated it looks like this:</p>
  
  <p><img src="https://i.stack.imgur.com/GdMR6.jpg" alt=""></p>
  
  <p>However, what I want is some sort of meshgrid or surf inbetween my curves so that my graph would look something similar to this. I played around with surf and mesh a decent bit but I can't figure out how to use the data that I have stored in my variables to plot curves and a surface through the curves that looks anything like that. </p>
  
  <p><img src="https://i.stack.imgur.com/zbdio.jpg" alt="enter image description here"></p>