generalized clog plot generator