Interval plotting solution