You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to make a line plot that can vary in thickness and/or color with ImPlot as-is?
The idea is to represent confidence with a variation in line thickness or color at each point rather than with a shaded plot
Otherwise do you have any pointers to how I could implement something like that with the internal API?
A potential idea I had was to make something like a sparse heatmap but it seems really overkill and I'm not sure if it would be that much better than making a custom line plot at that point
The text was updated successfully, but these errors were encountered:
I haven't seen anything regarding varying line thicknesses, but I did port the code from #332 to a local branch of mine for varying color. You're welcome to take a look and see if it helps: https://github.com/keltonhalbert/implot/tree/setcolors.
Presumably, a similar approach could be used for the line primitives to do varying thicknesses.
Is there a way to make a line plot that can vary in thickness and/or color with ImPlot as-is?
The idea is to represent confidence with a variation in line thickness or color at each point rather than with a shaded plot
Otherwise do you have any pointers to how I could implement something like that with the internal API?
A potential idea I had was to make something like a sparse heatmap but it seems really overkill and I'm not sure if it would be that much better than making a custom line plot at that point
The text was updated successfully, but these errors were encountered: