CoolFace
Apppublic

Aluode/PerceptionLabPortable

sourceHugging Faceupdated 9mo agoView on Hugging Face
0likes
GLLinePlotItem.cpython-310.pyc21 linesDownload Raw Back to __pycache__
1o

2�Yi��@s�dZddlZddlZddlZddlmZddlm	Z3dejvr=e��Z
e
�e
jj�e
�e
jj�e
�dd�ej�e
�e�d�Ze4��Ze��e�d�ejd	d5�e6��Ze�dddd�e� ddd�e�!e�e7��Z"e"�dddd�e"� ddd�e�!e"�e8��Z#e#� ddd�e�!e#�d
Z$e�%dde$�Z&e�%ddd�Z'e(e$�D]<Z)e&e)Z*e�+e'e*�Z,de�-e,�e,dZ.e�/e'e�0e'e*�e.g�Z1e9j2e1e�3e)e$df�e)dddd�Z4e�!e4�q�e5dkr�e�6�dSdS)zH10Demonstrate use of GLLinePlotItem to draw cross-sections of a surface.11�N)�QtGui�darwin��zGLLinePlotItem Examplez!pyqtgraph example: GLLinePlotItem�()Zdistance�Zi�����3�12�dg�������?g$@T)�pos�color�widthZ	antialias�__main__)7�__doc__�sys�numpy�npZ	pyqtgraphZpgZpyqtgraph.QtrZpyqtgraph.openglZopengl�gl�platformZQSurfaceFormat�fmtZsetRenderableType�RenderableTypeZOpenGLZ13setProfileZOpenGLContextProfileZCoreProfileZ14setVersionZsetDefaultFormatZmkQAppZappZGLViewWidget�w�showZsetWindowTitleZsetCameraPositionZ15GLGridItemZgx�rotate�	translateZaddItem�gy�gz�nZlinspace�y�x�range�i�yi�hypot�d�cos�zZcolumn_stackZ	full_likeZptsZGLLinePlotItemZmkColorZplt�__name__�exec�r)r)��E:\DocsHouse\542 percep lab latest\PerceptionLab\PerceptionLab_Portable\python_embed\Lib\site-packages\pyqtgraph/examples/GLLinePlotItem.py�<module>sR161718192021(�
Aluode/PerceptionLabPortable · CoolFace