title: How to write an overbar and subscript infinity in the same xlabel on a Matlab figure
body: <p>I want the xlabel of my Matlab figure to read v / Uinf, where the v has an overbar, and the inf is a symbol in subscript.</p>
  
  <p>The line:</p>
  
  <pre><code>xlabel('$\bar{v}$','interpreter','latex')
  </code></pre>
  
  <p>creates the v overbar, and:</p>
  
  <pre><code>xlabel('U_\infty')
  </code></pre>
  
  <p>creates the U subscript infinity, but when I try to put them together, Matlab says 'String must have valid interpreter syntax'. It seems setting the interpreter to latex means the U_\infty command doesn't work any more.</p>
  
  <p>Is there a way of writing U_infty that is compatible with latex or another way of writing the two together?</p>
  
  <p>Thanks in advance,</p>
  
  <p>Holly</p>