Put overbar and subscript multiple times
    조회 수: 16 (최근 30일)
  
       이전 댓글 표시
    
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
채택된 답변
  Walter Roberson
      
      
 2019년 10월 7일
        h = legend('$4C_{ACTIVE} - \overline{PI}_{ACTIVE}$','$4C_{FIXED} - \overline{PI}_{FIXED}$');
h.Interpreter = 'latex';
댓글 수: 2
  Walter Roberson
      
      
 2019년 10월 7일
				Perhaps 
h = legend('$\bf{4C_{ACTIVE} - \overline{PI}_{ACTIVE}}$','$\bf{4C_{FIXED} - \overline{PI}_{FIXED}}$')
추가 답변 (0개)
참고 항목
카테고리
				Help Center 및 File Exchange에서 Legend에 대해 자세히 알아보기
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!