Skip to content

Instantly share code, notes, and snippets.

@adityaiitb
Created June 22, 2021 05:01
Show Gist options
  • Save adityaiitb/36fe58f25160c5340dcbd6f84d56b867 to your computer and use it in GitHub Desktop.
Save adityaiitb/36fe58f25160c5340dcbd6f84d56b867 to your computer and use it in GitHub Desktop.
GNUplot colors
# line styles for ColorBrewer Set3
# for use with qualitative/categorical data
# provides 8 colors that are more saturated than the Pastels but less so than Set2
# compatible with gnuplot >=4.2
# author: Anna Schneider
# Modified by Aditya
# line styles
set style line 1 lc rgb '#a6cee3'
set style line 2 lc rgb '#1f78b4'
set style line 3 lc rgb '#b2df8a'
set style line 4 lc rgb '#33a02c'
set style line 5 lc rgb '#fb9a99'
set style line 6 lc rgb '#e31a1c'
set style line 7 lc rgb '#fdbf6f'
set style line 8 lc rgb '#ff7f00'
set style line 9 lc rgb '#cab2d6'
set style line 10 lc rgb '#6a3d9a'
set style line 11 lc rgb '#ffff99'
set style line 12 lc rgb '#b15928'
# Added by adi
#set style line 13 lc rgb '#102050'
set style line 13 lc rgb '#09314c'
#set style line 13 lc rgb '#1f60cc'
# green sequential (single hue)
set style line 21 lc rgb '#f7fcf5'
set style line 22 lc rgb '#e5f5e0'
set style line 23 lc rgb '#c7e9c0'
set style line 24 lc rgb '#a1d99b'
set style line 25 lc rgb '#74c476'
set style line 26 lc rgb '#41ab5d'
set style line 27 lc rgb '#238b45'
set style line 28 lc rgb '#006d2c'
set style line 29 lc rgb '#00441b'
#blue sequential (single hue)
set style line 31 lc rgb '#f7fbff'
set style line 32 lc rgb '#deebf7'
set style line 33 lc rgb '#c6dbef'
set style line 34 lc rgb '#9ecae1'
set style line 35 lc rgb '#6baed6'
set style line 36 lc rgb '#4292c6'
set style line 37 lc rgb '#2171b5'
set style line 38 lc rgb '#08519c'
set style line 39 lc rgb '#08306b'
set loadpath "."
load "color.plt"
plot "foo.dat" ls 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment