title: How to add Greek letter to data cursor in Matlab figure?
body: <p>I added a data cursor in a Matlab figure, and this it the code shown when I clicked "Edit Text Update Function..."</p>
  
  <pre><code>function output_txt = myfunction(obj,event_obj)
  % Display the position of the data cursor
  % obj          Currently not used (empty)
  % event_obj    Handle to event object
  % output_txt   Data cursor text string (string or cell array of strings).
  
  pos = get(event_obj,'Position');
  output_txt = {['X: ',num2str(pos(1),4)],...
      ['Y: ',num2str(pos(2),4)]};
  % If there is a Z-coordinate in the position, display it as well
  if length(pos) &gt; 2
      output_txt{end+1} = ['Z: ',num2str(pos(3),4)];
  end
  </code></pre>
  
  <p>What I want to do here is replacing the characters 'X', 'Y' by the Greek character like 'alpha' or 'beta'. How can I do that?</p>
  
  <p>Thank you!</p>