Filter löschen
Filter löschen

How to set different fontsize for multiline title with text and latex formula

1 Ansicht (letzte 30 Tage)
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)

Antworten (0)

Kategorien

Mehr zu Function Creation finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by