implot icon indicating copy to clipboard operation
implot copied to clipboard

Add offset and stride to ImPlotGetter plots

Open GameChaos opened this issue 10 months ago • 1 comments

This allows for downsampling ImPlotGetter plots, like the "Time Series" demo in implot_demo.cpp.

Stride and offset don't feel like the right words though, because instead of being a byte offset/stride, they offset/stride the index instead.

Some code I've used this for (apologies in advance): https://codeberg.org/GameChaos/amogus/src/commit/e176744987894a8938b59c6a6124938b7f4cdde4/code/amogus.cpp#L1582-L1597

GameChaos avatar Feb 15 '25 21:02 GameChaos

Thank you for this change, I hope this can be merged upstream.

James2022-rgb avatar Dec 05 '25 12:12 James2022-rgb