move common limit plotting definitions into one file