본문 바로가기

프로그래밍

[pyqt5] 선 그리기

 

https://pyqtgraph.readthedocs.io/en/latest/graphicsItems/plotcurveitem.html#pyqtgraph.PlotCurveItem

 

PlotCurveItem — pyqtgraph 0.12.4.dev0 documentation

stepMode (str or None) If ‘center’, a step is drawn using the x values as boundaries and the given y values are associated to the mid-points between the boundaries of each step. This is commonly used when drawing histograms. Note that in this case, len

pyqtgraph.readthedocs.io

 

https://wikidocs.net/74077

 

02) 직선 그리기 (drawLine)

이번 예제에서는 drawLine()을 이용해서 위젯에 다양한 스타일의 직선을 그려 보겠습니다. ## 예제 ``` ## Ex 8-2. 직선 그리기 (drawL ...

wikidocs.net