implement plot zoom