How can I plot the indices of observation in class 1?
4 views (last 30 days)
Show older comments
How can I plot indices of observation in class 1 in red on the same plot?
current code I have for class 0:
>> I = find(ttr == 0);
>> scatter(Xtr(I,1), Xtr(I,2), 10, ’b’);
>> hold on;
I need indices of observation in class 1 for be red in the same plot
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!