How to set different fontsize for multiline title with text and latex formula
2 views (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!