now generates a plot per metadata category - more fool-proof than dealing with overlap
added support for setting ymin/ymax across plots