FormatUnderscore:

Path: Plotting/Utilities

--------------------------------------------------------------------------
   Replaces all underscores in strings with '\\_' so that the underscore is not
   interpreted as a subscript for text graphics.

   Works with either a string input or a cell array of strings.
--------------------------------------------------------------------------
   Form:
   sOut = FormatUnderscore( sIn )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   sIn             {:}    Text to be modified

   -------
   Outputs
   -------
   sOut            {:}    Converted strings

--------------------------------------------------------------------------

Back to the Plotting Module page