# Graphing x vs y but colouring points based on 3rd value

Hi, I have three columns ( x, y and z). I want to create a graph of x versus y. I want all points with a non-zero value for z to appear red and all points with a zero value for z to appear blue. How would I accomplish this? Thanks.