Skip to content

How to customize the color Palette used for plottables #1058

@EFeru

Description

@EFeru

ScottPlot Version: 4.1.14

Operating System: Win10

Application Type: WinForms

Questions:

  • Is there a way to reset the Colors index for a plot back to 0? In Link vertical draggable axis #1032 last comment, you can see that because I add a red Vertical Axis line at the begining, the next signal gets an Orange color (index 1) instead of Blue (index 0).
  • Is there a way to add custom signals color array (and maybe styles) inside ScotPlot? So ScottPlot will loop around those colors and styles.
    Edit: I have seen this Cookbook example which is ok for one plot, but for multiple plots becomes difficult to keep track of the color index for each plot. This is why I believe something internal to ScottPlot is more elegant.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions