Skip to content

Line plot varying thickness and/or color? #594

Open
@clo-yunhee

Description

@clo-yunhee

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions