plot interval handling