
    e                        d Z ddlZddlZ ej
                  d      Z ej                  ddd      Z ej                  e      ez  Z
 ej                  dd	      Zej                  d
d       ej                  dd       ej                          ej!                  ee
dd      Zej!                  ee
dd      Zej'                  dd       ej)                  d       ej!                  ee
dddd      Zej-                  d       ej)                  e       ej!                  ee
dddd      Zej-                  e       ej'                  dd       edk(  r ej2                          yy)z
This example demonstrates the ability to link the axes of views together
Views can be linked manually using the context menu, but only if they are given 
names.
    NzLinked Views Examplei2   i  Tzpyqtgraph example: Linked Views)showtitlei   iX  zLinked Views   )colspanPlot1)xynamer   Plot2zPlot2: Y linked with Plot1bottomzLabel to test offsetPlot4z(Plot4: X -> Plot3 (deferred), Y -> Plot1   )r	   r
   r   r   rowcolPlot3zPlot3: X linked with Plot1left__main__)__doc__numpynp	pyqtgraphpgmkQAppapplinspacer	   sinr
   GraphicsLayoutWidgetwinresizeaddLabelnextRowaddPlotp1p2setLabelsetYLinkp4setXLinkp3__name__exec     @/usr/lib/python3/dist-packages/pyqtgraph/examples/linkedViews.py<module>r0      sW    bii&' BKKR
BFF1IMb4/PQ 

3s  ^Q ' [[1w[7[[1/K[L H, - G  	[[1/Y_`fg[h G  B[[1/KQRXY[Z B F* + zBGGI r.   