7199224d9b
LineStripRange / MarkersFillRange / MarkersLineRange: inline any getter (read through Get, plain arrays still read directly) and per-index colours, not only two plain arrays with one colour (RangeSource replaces PlainXY; same math) (demo, lib lowq: Subplots 6.0 -> 4.3 ms with the locator memo, Tools 3.7 -> 3.1, Custom 1.9 -> 1.7; draw data unchanged)
master
4DBug2026-10-21 02:55:34 -05:00
5ba892eb97
Locator_Default: restore the previous call's ticks when nothing that feeds it changed (no other ticks on the ticker, same range / pixels / orientation / Formatter_Default format / font + size) instead of formatting and measuring every label again; any AddTick invalidates (bench implot scene lib 0.70 -> 0.65 ms; draw data unchanged, also with frame-varying range, size, format, custom ticks, font size and tags)
4DBug2026-10-21 02:50:11 -05:00
4045d8a63a
Range renderers for heatmaps and shaded plots, per-index colours in LineStripRange, plain arrays read directly in the histogram loops: HeatmapRange (HeatmapRender + LerpTable + transforms + PrimRectFill inlined), ShadedRange (ShadedRender + XYGet + transforms + GetCol inlined), PlainData() for ImMinMaxIndexer / PlotHistogram / PlotHistogram2D / heatmap values, same math (demo Plots tab lib 13.5 -> 9.3 ms: Histogram 2D 3.6 -> 1.4, Heatmaps 1.9 -> 0.8 ms; draw data unchanged, all demo tab hashes + bench implot hash identical)
4DBug2026-10-21 02:41:11 -05:00
f6c782b1f6
@native on the indexers (IdxAt0-3, LinAt, ConstAt), getters (XYGet, OverrideX/YGet, LoopGet, XYZGet), fitters (Fitter1/X/Y, ExtendFit/ExtendFitWith), ImMinMaxIndexer, ImStdDev, PlotHistogram, PlotHistogram2D and LerpTable: the per-point paths no longer drop to the interpreter (demo Plots tab, all headers open: lib 17.6 -> 13.5 ms; Histogram 2D 8.6 -> 3.6 ms, Heatmaps 3.1 -> 1.9 ms; draw data unchanged)
4DBug2026-10-21 02:40:57 -05:00
0811513c9d
BeginPlot: resolve the cached axis colours once per plot (X1) and copy them to the other five axes instead of resolving the auto colour chain per axis (bench implot scene, items stubbed: 0.457 -> 0.422 ms; draw data unchanged)
4DBug2026-10-21 02:26:50 -05:00
e30281f9fb
Line strip and marker renderers: RenderRange draws a whole reserved run in one call when the getter reads two plain arrays (no axis transform functions, one colour), point read/transform/cull/PrimLine inlined with the same math (plot bench PlotLine 1000 pts 0.28 -> 0.15 ms, markers 0.15 -> 0.11 ms, vertices unchanged)
4DBug2026-10-17 12:23:37 -05:00
262ef1c5df
example: demo window only
4DBug2026-10-17 06:05:39 -05:00
d2926394d6
Example: live sine + demo windows; run example in tools/test.sh; README usage, API differences, status
4DBug2026-10-17 03:12:17 -05:00
fd3e0eb16b
Port ImPlot demo: ShowDemoWindow (menu, tabs, tool windows) and Demo_Help..Demo_RealtimePlots; stubs for the rest
4DBug2026-10-17 02:46:14 -05:00
5ec0151f7e
Port AddColormap (+ style editor custom colormap builder), ShowDatePicker/ShowTimePicker with PickerTimeMin/Max and time axis context menu, ShowAltLegend, ShowMetricsWindow
4DBug2026-10-17 02:38:58 -05:00
cafabe12af
Port BeginSubplots/EndSubplots, BeginAlignedPlots/EndAlignedPlots, drag & drop utils, BeginLegendPopup/EndLegendPopup, ShowStyleEditor/ShowStyleSelector/ShowColormapSelector/ShowInputMapSelector/ShowUserGuide, crosshairs, axis side switch, equal-aspect fit
4DBug2026-10-17 02:33:10 -05:00
0af1d4d3ad
Port DragPoint, DragLineX/Y, DragRect, Annotation, TagX/TagY, SetupMouseText + mouse position text, LabelAxisValue, GetPlotMousePos
4DBug2026-10-17 02:25:55 -05:00
df162337a6
Port SetupAxisScale (Linear/Time/Log10/SymLog/custom transforms), Locator_Log10/SymLog/Time, ImPlotTime utils and date/time formatting, SetupAxisTicks, SetupAxisFormat formatter overload, SetupAxisLimitsConstraints/ZoomConstraints
4DBug2026-10-17 02:20:17 -05:00