title: Bring text to the front of a plot
body: <p>I have a figure in MATLAB. Then I add a text to it by typing,</p>
  
  <pre><code>b = text(0.5, 0.5, 'Detector action', 'Rotation', -70, 'FontSize', 25);
  </code></pre>
  
  <p>But the text goes behind the figure (See below),
  <a href="https://i.stack.imgur.com/1asEu.png" rel="noreferrer"><img src="https://i.stack.imgur.com/1asEu.png" alt="enter image description here"></a></p>
  
  <p>I also tried,</p>
  
  <pre><code>uistack(b, 'top');
  </code></pre>
  
  <p>but it didn't work.</p>