Thursday, 15 May 2014

pyqtgraph - Text appearing flipped in setLabel item -


I use plot plot to plot a graph and cross hair feature to display coordinates using the mouse point I am here. But the coordinates are flipped in relation to X-X. I will rotate the text by 180 degrees w.r.t x-axis. I'm keeping that line here "label". Set text ("x =% 0.1f, y =% 0.1f"% (mousepoint.x), mousepoint.Y ()) "" thanks


No comments:

Post a Comment