Every time I save a plot picture as jpg or png, font size of title and axis label is changed back to default automatically. My code is like this:
figure plot(x,
Please try and use the following,
title(['\fontsize{16}black {\color{magenta}magenta '... '\color[rgb]{0 .5 .5}teal \color{red}red} black again'])
It works for sure