Plot graphs with cairo - it is faster and nicer