library for easy two-dimensional plot