first cut at plot util.