epezent / implot

Immediate Mode Plotting
MIT License
4.55k stars 503 forks source link

Scatterplot with Colormap? #473

Open markisus opened 1 year ago

markisus commented 1 year ago

Is there a way to have the scatterplot color the points by the values in a data array?

An ideal API for my case would be something like:

float xs[30] = ...
float ys[30] = ...
float ts[30] = ...

ImPlot::PlotScatterWithColormap("temperature samples", xs, ys, ts, 30);