;i(dZddlZddlZejdZejdddZej eez Z ej dd Z e d d e d d e e ee ddZe ee ddZeddede ee ddd dZedeee ee ddd dZeeeddedkrejdSdS)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. NzLinked Views Examplei2iTzpyqtgraph example: Linked Views)showtitlei iXz Linked Views)colspanPlot1)xynamerPlot2zPlot2: Y linked with Plot1bottomzLabel to test offsetPlot4z(Plot4: X -> Plot3 (deferred), Y -> Plot1)r r r rrowcolPlot3zPlot3: X linked with Plot1left__main__)__doc__numpynp pyqtgraphpgmkQAppapplinspacer sinr GraphicsLayoutWidgetwinresizeaddLabelnextRowaddPlotp1p2setLabelsetYLinkp4setXLinkp3__name__execRC:\PYTHON\MyICR_Workspace\venv\Lib\site-packages\pyqtgraph/examples/linkedViews.pyr0s bi&''BKR BF1IIMb4/PQQQ 3s ^Q ''' [[1w[77[[1/K[LL H,--- G [[1/Y_`fg[hh G B[[1/KQRXY[ZZ B F*+++ z BGIIIIIr.