figure
hold on
for i=1:length(y)
if and(50<temperatura(i),temperatura(i)<=60)
scatter(x(i),y(i),'b','filled')
elseif and(40<temperatura(i),temperatura(i)<=50)
scatter(x(i),y(i),'r','filled')
elseif and(30<temperatura(i),temperatura(i)<=40)
scatter(x(i),y(i),'g','filled')
end
end
hold off