Skip to content

Overriding default palette #1

@Lenbok

Description

@Lenbok

It may be worth including as a note in the readme, that it's possible to use these palettes to override the default, so that line styles do not need to be explicitly specified in plot commands. The method I use is a pair of commands like this:

palettefile(n) = sprintf("<sed 's/set style line/set linetype/' /path/to/gnuplot-palettes/%s.pal", n)
load palettefile("puor")

These can be put in your .gnuplot file to take effect on startup, and you can then call the load palettefile to select a different palette when desired.

Of course, if there is a better way to accomplish this, it would be good to know.

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