[atts, cls] = genData();
class1 = (cls == 1);
class2 = ~class1;
plot(atts(class1, 1), 
    atts(class1, 2), '^b');
hold on;
plot(atts(class2, 1),
    atts(class2, 2), '^g');
