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

    jhae2.718

    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?
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Indicate mean with a bar in Matlab
Loading...