# Indicate mean with a bar in Matlab

1. Jun 21, 2012

### Old Guy

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
$$\bar \xi$$
Thanks.

2. Jun 21, 2012

### jhae2.718

Code (Text):

xlabel([color=#BA2121]'$\bar{\xi}$'[/color], [color=#BA2121]'interpreter'[/color], [color=#BA2121]'latex'[/color]);

replacing xlabel with whatever label it is.

3. Jun 21, 2012

### Old Guy

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?