title: Looking for a variation of waterfall plot in matlab
body: <p>I have a 3-dimensional data to be plotted in matlab. The data set are built by stacking 10 exponential curves with different parameters along y directions such as </p>
  
  <pre><code>  x = 0:0.01:15;
    x0 = 0.5;
    y = [beta1, beta2, beta3, beta4, beta5, beta6, beta7, beta8, beta9, beta10];
    Z(1, :) = A*exp(-(x-x0).^2/beta1);
    Z(2, :) = A*exp(-(x-x0).^2/beta2);
    Z(3, :) = A*exp(-(x-x0).^2/beta3);
    Z(4, :) = A*exp(-(x-x0).^2/beta4);
    ...
    Z(10, :) = A*exp(-(x-x0).^2/beta10);
    % here A could be change based on beta too (no code shown here)
  </code></pre>
  
  <p>I am trying to plot Z with waterfall except for I don't want the height (i.e. the vertical line) appears on the edge. I don't know if there is any other way to plot the data as waterfall-like curves but without those vertical lines. Thanks</p>
  
  <p><img src="https://i.stack.imgur.com/u602n.jpg" alt="how to get rid the vertical lines as circled in the following figures"></p>