I would like to add a customized title to my plot:
name='function';x = 0:pi/100:2*pi;y = sin(x);plot(x,y)title(['Plot of','name'],... 'FontSize',13,'FontWeight','normal');
but it doesn't work. How can I solve this?
MATLABplot
name='function';x = 0:pi/100:2*pi;y = sin(x);plot(x,y)title(['Plot of','name'],... 'FontSize',13,'FontWeight','normal');
Best Answer