Add a simple 1d plotting utility to tools