Example: charts-custom/custom_color_palette
Output File:
Source File:
(layer/resize 2048px 1024px)
(layer/set-dpi 240)
;;(set color-palette (#0c0 #c00 #00c))
(figure/plot
legend (
item (label "Test Color 1" color 1)
item (label "Test Color 2" color 2)
item (label "Test Color 3" color 3)
item (label "Test Color 4" color 4)
item (label "Test Color 5" color 5)
item (label "Test Color 6" color 6)
item (label "Test Color 7" color 7)
item (label "Test Color 8" color 8)))
Run this example:
$ clip --export output.svg charts-custom/custom_color_palette.clp