user2196134
user2196134

Reputation: 13

probplot - define color

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

Answers (1)

Molly
Molly

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

Related Questions