Put overbar and subscript multiple times
    14 views (last 30 days)
  
       Show older comments
    
    Shipra Jain
      
 on 7 Oct 2019
  
    
    
    
    
    Commented: Walter Roberson
      
      
 on 7 Oct 2019
            I have the following legend:
legend('4C_{ACTIVE} - PI_{ACTIVE}','4C_{FIXED} - PI_{FIXED}');
I want to put overbar over the letters PI (not on the subscipt or anywhere else). Can someone suggest how to do this?
Thanks in advance.
0 Comments
Accepted Answer
  Walter Roberson
      
      
 on 7 Oct 2019
        h = legend('$4C_{ACTIVE} - \overline{PI}_{ACTIVE}$','$4C_{FIXED} - \overline{PI}_{FIXED}$');
h.Interpreter = 'latex';
2 Comments
  Walter Roberson
      
      
 on 7 Oct 2019
				Perhaps 
h = legend('$\bf{4C_{ACTIVE} - \overline{PI}_{ACTIVE}}$','$\bf{4C_{FIXED} - \overline{PI}_{FIXED}}$')
More Answers (0)
See Also
Categories
				Find more on Legend in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
