X axis is shifted to the right when you zoom in
Bug #1200632 reported by
Henry
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
quickplot (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
For any kind of data, if you try to zoom in too much, the x axis ends up being shifted significantly to the right (beyond the end of the data). This problem happens even with Quickplot version 0.10.4.
To reproduce, create a file with the following contents:
1 1
2 2
3 3
4 4
Plot it and try to zoom around one of the points very closely so that the zoom box is barely outside the point.
To post a comment you must log in.
Hi,
I'm the sole upstream developer of quickplot. Lance.
I'd like to fix this bug, but I'm having trouble understanding what the bug is, and how to see it.
The way I see it, quickplot does not draw any axises. Quickplot draws a grid of x and y lines. Grid lines are labeled at even intervals. When you drag the graph (with the left mouse button pressed move the pointer) you can see grid labels spaced at a little less than the distance of the current veiw port size. These grid labels are recalculated for every zoom level, so they "jump" around a lot when you zoom. The label positions are regular, but not super nice every time. It's kind of like the regular latitude and latitude labels on a paper map. It's just a regular periodic pattern. The labels may end up in a stupid location, but it is not supposed to be giving wrong information.
An easy way to plot your test data is with this one-liner:
echo -e "1 1\n2 2\n 3 3\n 4 4" | quickplot -
Can you show me a snapshot as a png file of this bug behavior? Or did I just resolve this bug by explaining what you are seeing? Or can this evolve into a Quickplot feature request (granted I don't understand it)?
--lance