%plotdata.m
function [res]=plotdata(data,a,b,c,n,s) 
for i=1:1:length(data) 
    x=data(i,1); 
    y=data(i,2); 
    if((a*x+b*y+c)>0) 
        figure(n) 
        hold on 
        plot(x,y,s)
    end
end
res=1;

