title: How to plot a 3D plot in MATLAB?
body: <p>I have three parameters <code>x</code>,<code>y</code> and <code>t</code>. But the problem is my file structure.</p>
  
  <p>My files are named as:</p>
  
  <pre><code>e_x_y.txt
  t_x_y.txt
  </code></pre>
  
  <p>where <code>e_x_y.txt</code> has the error for particular values of <code>x</code> and <code>y</code> and <code>t_x_y.txt</code> has corresponding time values.</p>
  
  <p><strong>I need to plot the values in <code>e_x_y.txt</code> on a <code>x vs y vs t</code> graph.</strong></p>
  
  <p>What is the best way to do that?</p>
  
  <p>I know what x and y values are, so I don't have to deduct them from the file names.</p>
  
  <hr>
  
  <p>To make things more clear,</p>
  
  <p>suppose my files are:</p>
  
  <pre><code>e_4_5.txt
  45
  54
  t_4_5.txt
  2.0
  6.0
  
  e_7_8.txt
  32
  98
  121
  t_7_8.txt
  2
  9
  1.0
  </code></pre>
  
  <p>I want to plot the following points:</p>
  
  <pre><code>(4,5,2.0) = 45
  (4,5,6.0) = 54
  (7,8,2.0) = 32 
  (7,8,9.0) = 98
  (7,8,1.0) = 121
  </code></pre>