I just updated to Matlab 2015b, and the frustration has already begun.
I am making a simple scatter plot with multiple data sets. Each data set has a different color, but the legend shows points all in the same color. Example code showing problem below: (ONLY IN 2015b)
—————
x = 1:1:100;y1 = rand(1,100);y2 = rand(1,100);y3 = rand(1,100);figure;scatter(x,y1);hold on;scatter(x,y2,'*');scatter(x,y3);legend('random 1','random 2','random 3') ;
—————
The different symbol choice on 'random 2' illustrates that the problem is only with color, and not with referencing the same handle for each.
Help much appreciated!
Maddie
Best Answer