I intend to create 2-3 plots shared on a common time axis that can interactively scrolled with a single slider . Also there is one constraint where in sampling frequency is different for each variable but have the same time window.
x - time y1 - values sampled every 1 second y2 - values sampled every 10 seconds y3 - values sampled every 100 seconds How can we do this .
Have tried this sample code
import matplotlib.pyplot as plt from ipywidgets import interact %matplotlib inline def f(n): plt.plot([0,1,2],[0,1,n]) plt.show() interact(f,n=(0,10)) I want something similar to this , the only change being x and y axis data is constant and the slider widget is used to scroll the graph left and right (x axis here) with a certain time window on the graph display