开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜