graph data on a log function