Suppose i have plotted 2 graphs in on same UIAxes in matlab App.
There are two points highlighted with x=1.56 (let say x1) and other with x=3.53(let say x2).
After plotting I want to give an option which will shift the x2 to x1 i.e. whole red plot will be shifted to left by an amount of (x2-x1).
Is there any way to shift this grpah using any kinf of slider or Knob , at the same instant as the slider or knob value changes??
Or is it possible to give an option to shift this graph using slider so when slider value changes at the same instant the graph is shifted so uder can know how much graph is
shifted to left or right??