Opened 12 years ago
Closed 5 years ago
#2166 closed enhancement (fixed)
Snap to curve in OMEdit plot
Reported by: | Per Östlund | Owned by: | Adeel Asghar |
---|---|---|---|
Priority: | high | Milestone: | 1.14.0 |
Component: | OMEdit | Version: | trunk |
Keywords: | Cc: |
Description
At the moment OMEdit shows the time and value at the mouse cursor when in plotting mode. It would be nice if it allowed the cursor to snap to a curve, so that the user can see the exact value of a variable at a certain point in time.
The feature should be togglable by the user so that it can be turned on and off as needed. It could work so that when it's on and the user moves his cursor close to one of the plotted curves a symbol is displayed on the corresponding time-point on the curve, and the variable name, time and value is displayed in a label attached to the symbol instead of the cursor. When the user moves the cursor sufficiently far away from the curve it unsnaps again. Some care needs to be taken when multiple curves are close to each other, possibly by keeping track of which curve the user is currently following and keeping to that curve until the cursor moves far enough away from that curve.
Change History (8)
comment:1 by , 9 years ago
comment:4 by , 8 years ago
Milestone: | Future → 1.11.0 |
---|
comment:5 by , 8 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
In case of overlapped curves only the name of the first curve is shown in the label.
If different groups of overlapped curves are present in the same graph, it is difficult to identify which curves are in a group.
To help to identify overlapped curves in a group, all the names of the overlapped curves in the same group should be shown in the label.
OMEdit 1.12.0~dev-309-g2230a75
Connected to OpenModelica 1.12.0~dev-789-g42b0038
sysop: Ubuntu 16.04
comment:6 by , 7 years ago
Milestone: | 1.11.0 → 1.13.0 |
---|
comment:8 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Fixed in 8eee160/OpenModelica.
Another important missing feature of OMEDIT plot windows is a way to understand which curve belongs to which output file, in case curves from different files are displayed in the same plot window.
I know that adding the file name to each curve would make the curve names too long. Therefore my proposal is to display the full name, including the file name, only when the mouse hovers on the curve name. In Qt, if the curve name is a label widget this is straightforward.
When the mouse cursor is elsewhere, to display only the names that are displayed now is ok.