Skip to content

fix_undscr.m

Basic Information

 PURPOSE: put \ infront of any _ so it plots correctly when using TEX

 SYNTAX:  [string_ot]= fix_undscr(string_in);

 INPUT:
       string_in=  string containing _ which are converted to \_

 OUTPUT:
       string_ot=  string containing \_ which prints ok in TEX

 Note: Now works on string arrays

Dependencies