title: How to smooth plot (interpolate) in Matlab using patch function
body: <p>I have this piece of code to generate the below plot:</p>
  
  <pre class="lang-matlab prettyprint-override"><code>f1 = figure(1);
  patch(X,Y,stress_xx,'FaceColor','interp','LineStyle','none');
  title('Distribution of stress xx','FontWeight', 'bold');
  colormap jet;
  axis equal;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/xOUFa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xOUFa.png" alt="enter image description here"></a></p>
  
  <p>How can I smooth the plot so that I won't see the lines in between? FaceColor interp doesn't seem to be working.</p>