잘 작동하는 것 같다 :
title({'Monte-Carlo For Both Linear and Non-Linear Models Using N=300' ...
'and An Adjoint Simulation; Frequency = 100Hz $\sigma_{T}=\sigma_{D}=10^{-5}$'}, ...
'Interpreter', 'latex');
를 그리고 여기 보이는 방법은 다음과 같습니다
이 각 행을 왼쪽 정당화 종료됩니다. 당신은 자신이 텍스트가 거의 수학 방정식을 주로 다루고 발견하면
title(['\begin{tabular}{c} Monte-Carlo For Both Linear and Non-Linear ' ...
'Models Using N=300 \\ and An Adjoint Simulation; Frequency = 100Hz ' ...
'$\sigma_{T}=\sigma_{D}=10^{-5}$ \end{tabular}'], ...
'Interpreter', 'latex');
것은 matrix
이 바람직 할 수있다 (: 당신이 그 (것)들에게 센터 정당화해야하는 경우 Werner에 의해 제안, 가장 쉬운 방법은 가능성이 tabular
environment을 사용하는 것입니다 필요하다면 \textrm{...}
을 사용하여 텍스트를 이스케이프 처리하십시오.) :
title('$\matrix{\textrm{Some text} \cr \sigma_{T}=\sigma_{D}=10^{-5}}$', ...
'Interpreter', 'latex');
'tabular' 환경에 행을 삽입하십시오. https://stackoverflow.com/questions/18560050/new-line-in-axis-tick-labels-in-matlab/34135766#34135766 – mikkola
무언가를 잘못하고있는 경우를 제외하고는 제목에 문제가 없습니다. – Ben
@ben : 시도해보십시오. $ N = 300 $ 및 Adjoint 시뮬레이션을 사용하는 선형 및 비선형 모델 모두에 대한 Monte-Carlo, 주파수 = 100Hz $ \ sigma_T = \ sigma_D = 10 (제목은 \ begin {tabular} {c}^{- 5} $ \ end {tabular} ','Interpreter ','latex ')' – Werner