Evan Pezent

Results 68 comments of Evan Pezent

Scanning the code, the first idea that jumps out to me is possibly putting color indexing/getting into the existing `Getter` structs. These currently return an `ImPlotPoint` (in most cases), but...

It's been a requested feature in the past, so I'm in support of adding something like this. Questions, things to think about: - It seems that you've chosen to display...

Yes. The plot mouse position get be retrieved with `GetPlotMousePos`, and then the closest point in the plot data can be searched for by the user. We might consider adding...

You can just add a constaint on the variable passed to `DragLineX` immediately after you call the function (e.g. `std::clamp(x,0,1)`). Note you may need to pass the following flag to...

We could also add a flag, e.g. `ImPlotDragToolFlags_Clamp`, to clamp the tool position to the plot boundary.

Thanks for sharing the code. I tested your example and was able to reproduce the"color" issue iwhen the DragLine is moved off plot. I am not sure what the problem...

As already mentioned, see the second example under `Plots/Realtime Plots` in the demo: ![rt](https://user-images.githubusercontent.com/29577475/189492110-30d57930-36a9-44ca-b6f9-e6eaa4c73821.gif)

There is a PR adding this, but I have not had time to consider how the API for "previous items" needs function. https://github.com/epezent/implot/pull/295

https://github.com/epezent/implot/pull/504

While I would love it if `PlotG` could take a `std::function`, we're not going to take a hard dependency on STL in `implot.h` (we try to honor ImGui's stance on...