Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Indicate mean with a bar in Matlab

  1. Jun 21, 2012 #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]
  2. jcsd
  3. Jun 21, 2012 #2


    User Avatar
    Gold Member

    Code (Text):

    xlabel([color=#BA2121]'$\bar{\xi}$'[/color], [color=#BA2121]'interpreter'[/color], [color=#BA2121]'latex'[/color]);
    replacing xlabel with whatever label it is.
  4. Jun 21, 2012 #3
    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?
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook