#156 Lines outside plot area. Problems with setting markers.

closed
nobody
None
5
2012-03-13
2012-03-11
Anonymous
No

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?

Discussion

  • Nobody/Anonymous

    Example program and screenshot

     
  • Uwe Rathmann

    Uwe Rathmann - 2012-03-13

    Example code is buggy

     
  • Uwe Rathmann

    Uwe Rathmann - 2012-03-13
    • status: open --> closed-rejected
     

Anonymous
Anonymous

Cancel  Add attachments