Add plotting capabilities

Goal: introduce some facilities for plotting.