Reputation: 13
I have these lines in matlab:
pp1=probplot('normal',one_stone);
set(pp1,'color','red')
This gives a plot that's red all over.
I would like to change the color of the scatter WITHOUT changing the color of the trendline.
Upvotes: 0
Views: 1721
Reputation: 13610
You can set properties of the line and the markers separately like this:
set(pp1(1),'Color','r') % line
set(pp2(2),'Color','b') % markers
Upvotes: 1