Clear Filters
Clear Filters

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

1 view (last 30 days)
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)

Answers (0)

Categories

Find more on Function Creation in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!