Hello S.,
I managed to change the fontsize of the title. How can you change the fontsize of the legend. Anytime I change the font_size value it influences the position, set in opt.
// Example Data
x = 0:0.1:10;
y1 = sin(x);
y2 = cos(x);
y3 = sin(x) .* cos(x);
// Plotting multiple lines
plot(x, y1, 'r'); // Plot the first line in red
plot(x, y2, 'g'); // Plot the second line in green
plot(x, y3, 'b'); // Plot the third line in blue
title('headline','fontsize', 6)
legend(['$p_3=4$'],opt=2,font_size=2)