How to set different fontsize for multiline title with text and latex formula
2 次查看(过去 30 天)
显示 更早的评论
sol= dsolve('D2y+2*Dy=exp(x)','y(0)=1','Dy(0)=0','x'); line1=[' solution is']; line2=['$' latex(sol) '$']; ezplot(sol,[-2,0]); title({line1,line2} ,'Interpreter','latex','Fontsize',12)
0 个评论
回答(0 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!