Extract zones from a XY data.
Object that contains property x (an ordered increasing array) and y (an array)
options
Extract zones from a XY data.