Reputation: 1445
I am having a hard time grasping plotting in matlab, when I run this line:
gscatter(wine1.Alcohol,wine1.Ash,wine1.Class,'br','xo')
It shows:
But I obviouly want the third class to be a different color, how can I do that?
Upvotes: 0
Views: 650
Reputation: 1445
So I solved it with this:
gscatter(wine1.Alcohol,wine1.Ash,wine1.Class,'rgb','osd')
which gives me:
Awesome it works!
Upvotes: 1