Lines outside plot area. Problems with setting markers.
Brought to you by:
rathmann
When drawing some data, for example 4096 or more points like:
x=0.0001*i
y=sin(0.1*i+3.14*(((i%60)<30)?0:(rand()%2)))
some lines appear outside the plot area.
The example program and the screenshot are in the archive.
Also in this example you can set a marker by right mouse button and it appears righter then a mouse click when the coordinates of a marker are calculated like invTransform(event->x), invTransform(event->y) in mousePressEvent.
Is it a bug or the coordinates of a marker should be calculated other way?
Anonymous
Example program and screenshot
Example code is buggy