title: MATLAB textbox in a constant position on top of spinning 3D plot?
body: <p>I'm trying to have a textbox in MATLAB on a spinning plot, but I don't want the textbox to change its position relative to the figure.  I thought that <code>'units','normalized'</code> in the <code>text</code> function would do it, but it's not quite working, as the example below illustrates.  I suppose I could use <code>uicontrol</code> but I'd like to use Greek letters and I can't get <code>uicontrol</code> looking quite as good as <code>text</code>.  The following example recreates my problem.  You'll notice the text box moves as the plot spins, but I'd like it to just stay in the top left region where it starts.  Thank you!</p>
  
  <pre><code>part_x = rand(1000,3)-.5;                         %generate random 3D coordinates to scatter
  fig1 = figure;
  scatter3(part_x(:,1), part_x(:,2), part_x(:,3))
  axis equal vis3d
  axis([-1 1 -1 1 -1 1])
  set(fig1,'color','w')
  
  for tau = 1:150
      view(tau+20,30);                              %spin the plot
      pause(.01)
      if tau~=1; delete(tau_text); end;             %delete the previous text if it exists
      tau_text = text(.1,.7,...
                      ['\tau = ',num2str(tau)],...
                      'units','normalized',...      %text coordinates relative to figure?
                      'Margin',3,...                %these last 3 lines make it look nice
                      'edgecolor','k',...
                      'backgroundcolor','w');
  end
  </code></pre>