Zoom in/out
ClickOnZoom(...)
...
additional parameters
if ratio < 1 then zoom in, if ratio > 1 then zoom out, if ratio = 1 then shift the plot.
Jason