small utilities for processing and plotting data