plot latencies