开发者

Matlab question: Displaying math equations in the title of a plot using (la)tex [duplicate]

开发者 https://www.devze.com 2023-03-19 13:04 出处:网络
This question already has an answer here: Closed 11 years ago. Possible Duplicate: How can I create this figure title in MATLAB?
This question already has an answer here: Closed 11 years ago.

Possible Duplicate:

How can I create this figure title in MATLAB?

I would like to write down math equations in the m-file in the plot such as

let u开发者_Python百科s say I define

d = 1;

in the MATLAB code. I want to plot with the title such as

title('The Solution of Equations $f(x,t)=0$ when the Parameter is %d')

Please advise.


title(text('Interpreter','latex',...
'String','The solution is: $$\int_0^x\!\int_y dF(u,v)$$',...
'Position',[.5 .5],...
'FontSize',16))
0

精彩评论

暂无评论...
验证码 换一张
取 消