經安全檢測,此網站為安全網站,請放心前往原始網址!

如何在matlab中的xlabel,ylabel,legend和text函數中使用latex_matlab

以下例子中展示瞭如何用在matlab函數中使用latex t = 0:0.1:2*pi; x = sin(t); hold on; plot(t,x,'-*'); plot(t,2*x,'-.'); %% Using Latex in xlabel and ylabel xlabel('$Time$','Interpreter','LaTex'); ylabel('$Value$','Interpreter','LaTex'); %% Using Latex in legend

www.zdh1909.com

網址安全性掃描由 google 提供