Ihave just installed Matlab 2020a, and I'm having issues with the format of the legends in my plots. I haven't had this issue in other versions of Matlab.
The problem is that some elements are not ploted in the legend. For instance, if I run one of Matlab's examples:
x = linspace(0,pi);
y1 = cos(x);
y2 = cos(2*x);
I get this plot:
Oddly enough, when I go to Edit / Copy Figure, the legend is allright:
I don't know what is going on. Can someone help me figure this out?