Indicate mean with a bar in Matlab

  • Context: MATLAB 
  • Thread starter Thread starter Old Guy
  • Start date Start date
  • Tags Tags
    Matlab Mean
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 4K views
Old Guy
Messages
101
Reaction score
1
I want to put the following as an axis label on a plot, but I cannot figure out how to get the bar on top in Matlab
[tex]\bar \xi[/tex]
Thanks.
 
Physics news on Phys.org
Code:
xlabel('$\bar{\xi}$'[/color], 'interpreter'[/color], 'latex'[/color]);
replacing xlabel with whatever label it is.
 
Thanks for your help, but I could not get this to work because I am trying to change a .fig file in the property editor. I tried generating the code, and then making the modification there, but I was unable to save as .fig after that. Any suggestions?