title: Plot a line with varying thickness
body: <p>I would like to plot a line in 3D with varying thickness using Matlab. Is it possible to do that (i.e. one line)?
  So far I'm able to plot a line in 3D with fixed thickness, e.g.:</p>
  
  <pre><code> path_width = 5;
   plot3(path(:,1), path(:,2), path(:,3), '-', 'LineWidth', path_width);
  </code></pre>
  
  <p>Ideally, I would like that the thickness of the line changes as it is drawn. I have a vector (<code>path_widths</code>) containing the thickness that I would like to display for each point in the line. Any suggestions are most welcome</p>