Zoom/Pan state

Oystein Bjorke 4 years ago 0
This discussion was imported from CodePlex

vindex wrote at 2011-11-01 14:44:

Hi,

Is it possible to get/set where is centered the view in a plot, after several zooms and pans?


objo wrote at 2011-11-01 20:18:

I think it should be possible to use (ActualMinimum+ActualMaximum)/2 on each axis to find the center. These two values will contain the current minimum and maximum values of the axes after the plot has been updated or redrawn.

CodePlex