Changed plotting formula