# set terminal svg size 600,400 dynamic enhanced font 'arial,10' mousing name "varcolor_8" butt dashlength 1.0 # set output 'varcolor.8.svg' set errorbars front 1.000000 linecolor -1 linewidth 1.000 dashtype solid set boxwidth 0.2 absolute unset key set style data lines set title "variable color using multiple named palettes" set xrange [ 0.00000 : 11.0000 ] noreverse nowriteback set x2range [ * : * ] noreverse writeback set yrange [ -4.00000 : 10.0000 ] noreverse nowriteback set y2range [ * : * ] noreverse writeback set zrange [ * : * ] noreverse writeback set cbrange [ * : * ] noreverse writeback set rrange [ * : * ] noreverse writeback set palette cubehelix start 0.5 cycles -1.5 saturation 1 set colorbox vertical origin screen 0.9, 0.2 size screen 0.05, 0.6 front noinvert bdefault unset colorbox by3(x) = (((int(x)%3)+1)/6.) by4(x) = (((int(x)%4)+1)/7.) rgbfudge(x) = x*51*32768 + (11-x)*51*128 + int(abs(5.5-x)*510/9.) NO_ANIMATION = 1 array blues[256] colormap = [0x00e5e5e5,0x00e4e4e5,0x00e3e3e4,0x00e2e2e4,0x00e1e1e4,0x00e1e1e3,0x00e0e0e3,0x00dfdfe3,0x00dedee2,0x00dddde2,0x00dcdce1,0x00dbdbe1,0x00dadae1,0x00d9d9e0,0x00d8d8e0,0x00d8d8e0,0x00d7d7df,0x00d6d6df,0x00d5d5df,0x00d4d4de,0x00d3d3de,0x00d2d2de,0x00d1d1dd,0x00d0d0dd,0x00cfcfdd,0x00cfcfdc,0x00cecedc,0x00cdcddb,0x00ccccdb,0x00cbcbdb,0x00cacada,0x00c9c9da,0x00c8c8da,0x00c7c7d9,0x00c6c6d9,0x00c6c6d9,0x00c5c5d8,0x00c4c4d8,0x00c3c3d8,0x00c2c2d7,0x00c1c1d7,0x00c0c0d7,0x00bfbfd6,0x00bebed6,0x00bdbdd5,0x00bdbdd5,0x00bcbcd5,0x00bbbbd4,0x00babad4,0x00b9b9d4,0x00b8b8d3,0x00b7b7d3,0x00b6b6d3,0x00b5b5d2,0x00b5b5d2,0x00b4b4d2,0x00b3b3d1,0x00b2b2d1,0x00b1b1d1,0x00b0b0d0,0x00afafd0,0x00aeaecf,0x00adadcf,0x00acaccf,0x00acacce,0x00ababce,0x00aaaace,0x00a9a9cd,0x00a8a8cd,0x00a7a7cd,0x00a6a6cc,0x00a5a5cc,0x00a4a4cc,0x00a3a3cb,0x00a3a3cb,0x00a2a2cb,0x00a1a1ca,0x00a0a0ca,0x009f9fc9,0x009e9ec9,0x009d9dc9,0x009c9cc8,0x009b9bc8,0x009a9ac8,0x009a9ac7,0x009999c7,0x009898c7,0x009797c6,0x009696c6,0x009595c6,0x009494c5,0x009393c5,0x009292c5,0x009191c4,0x009191c4,0x009090c3,0x008f8fc3,0x008e8ec3,0x008d8dc2,0x008c8cc2,0x008b8bc2,0x008a8ac1,0x008989c1,0x008989c1,0x008888c0,0x008787c0,0x008686c0,0x008585bf,0x008484bf,0x008383bf,0x008282be,0x008181be,0x008080bd,0x008080bd,0x007f7fbd,0x007e7ebc,0x007d7dbc,0x007c7cbc,0x007b7bbb,0x007a7abb,0x007979bb,0x007878ba,0x007777ba,0x007777ba,0x007676b9,0x007575b9,0x007474b9,0x007373b8,0x007272b8,0x007171b7,0x007070b7,0x006f6fb7,0x006e6eb6,0x006e6eb6,0x006d6db6,0x006c6cb5,0x006b6bb5,0x006a6ab5,0x006969b4,0x006868b4,0x006767b4,0x006666b3,0x006565b3,0x006565b3,0x006464b2,0x006363b2,0x006262b1,0x006161b1,0x006060b1,0x005f5fb0,0x005e5eb0,0x005d5db0,0x005c5caf,0x005c5caf,0x005b5baf,0x005a5aae,0x005959ae,0x005858ae,0x005757ad,0x005656ad,0x005555ad,0x005454ac,0x005454ac,0x005353ab,0x005252ab,0x005151ab,0x005050aa,0x004f4faa,0x004e4eaa,0x004d4da9,0x004c4ca9,0x004b4ba9,0x004b4ba8,0x004a4aa8,0x004949a8,0x004848a7,0x004747a7,0x004646a7,0x004545a6,0x004444a6,0x004343a5,0x004242a5,0x004242a5,0x004141a4,0x004040a4,0x003f3fa4,0x003e3ea3,0x003d3da3,0x003c3ca3,0x003b3ba2,0x003a3aa2,0x003939a2,0x003939a1,0x003838a1,0x003737a1,0x003636a0,0x003535a0,0x0034349f,0x0033339f,0x0032329f,0x0031319e,0x0030309e,0x0030309e,0x002f2f9d,0x002e2e9d,0x002d2d9d,0x002c2c9c,0x002b2b9c,0x002a2a9c,0x0029299b,0x0028289b,0x0028289b,0x0027279a,0x0026269a,0x00252599,0x00242499,0x00232399,0x00222298,0x00212198,0x00202098,0x001f1f97,0x001f1f97,0x001e1e97,0x001d1d96,0x001c1c96,0x001b1b96,0x001a1a95,0x00191995,0x00181895,0x00171794,0x00161694,0x00161693,0x00151593,0x00141493,0x00131392,0x00121292,0x00111192,0x00101091,0x000f0f91,0x000e0e91,0x000d0d90,0x000d0d90,0x000c0c90,0x000b0b8f,0x000a0a8f,0x0009098f,0x0008088e,0x0007078e,0x0006068d,0x0005058d,0x0004048d,0x0004048c,0x0003038c,0x0002028c,0x0001018b,0x0000008b] array flame[256] colormap = [0x008b0000,0x008b0100,0x008c0200,0x008c0300,0x008d0400,0x008d0500,0x008e0600,0x008e0700,0x008f0800,0x008f0900,0x00900a00,0x00900b00,0x00900c00,0x00910d00,0x00910e00,0x00920f00,0x00921000,0x00931100,0x00931200,0x00941300,0x00941400,0x00951500,0x00951600,0x00951700,0x00961800,0x00961900,0x00971a00,0x00971b00,0x00981c00,0x00981d00,0x00991e00,0x00991f00,0x009a2000,0x009a2100,0x009a2200,0x009b2300,0x009b2400,0x009c2500,0x009c2600,0x009d2700,0x009d2800,0x009e2900,0x009e2a00,0x009f2b00,0x009f2c00,0x009f2d00,0x00a02e00,0x00a02f00,0x00a13000,0x00a13100,0x00a23200,0x00a23300,0x00a33400,0x00a33500,0x00a43600,0x00a43700,0x00a43800,0x00a53900,0x00a53a00,0x00a63b00,0x00a63c00,0x00a73d00,0x00a73e00,0x00a83f00,0x00a84000,0x00a94100,0x00a94200,0x00a94300,0x00aa4400,0x00aa4500,0x00ab4600,0x00ab4700,0x00ac4800,0x00ac4900,0x00ad4a00,0x00ad4b00,0x00ae4c00,0x00ae4d00,0x00ae4e00,0x00af4f00,0x00af5000,0x00b05100,0x00b05200,0x00b15300,0x00b15400,0x00b25500,0x00b25600,0x00b35700,0x00b35800,0x00b35900,0x00b45a00,0x00b45b00,0x00b55c00,0x00b55d00,0x00b65e00,0x00b65f00,0x00b76000,0x00b76100,0x00b86200,0x00b86300,0x00b86400,0x00b96500,0x00b96600,0x00ba6700,0x00ba6800,0x00bb6900,0x00bb6a00,0x00bc6b00,0x00bc6c00,0x00bd6d00,0x00bd6e00,0x00bd6f00,0x00be7000,0x00be7100,0x00bf7200,0x00bf7300,0x00c07400,0x00c07500,0x00c17600,0x00c17700,0x00c27800,0x00c27900,0x00c27a00,0x00c37b00,0x00c37c00,0x00c47d00,0x00c47e00,0x00c57f00,0x00c58000,0x00c68100,0x00c68200,0x00c78300,0x00c78400,0x00c88500,0x00c88600,0x00c88700,0x00c98800,0x00c98900,0x00ca8a00,0x00ca8b00,0x00cb8c00,0x00cb8d00,0x00cc8e00,0x00cc8f00,0x00cd9000,0x00cd9100,0x00cd9200,0x00ce9300,0x00ce9400,0x00cf9500,0x00cf9600,0x00d09700,0x00d09800,0x00d19900,0x00d19a00,0x00d29b00,0x00d29c00,0x00d29d00,0x00d39e00,0x00d39f00,0x00d4a000,0x00d4a100,0x00d5a200,0x00d5a300,0x00d6a400,0x00d6a500,0x00d7a600,0x00d7a700,0x00d7a800,0x00d8a900,0x00d8aa00,0x00d9ab00,0x00d9ac00,0x00daad00,0x00daae00,0x00dbaf00,0x00dbb000,0x00dcb100,0x00dcb200,0x00dcb300,0x00ddb400,0x00ddb500,0x00deb600,0x00deb700,0x00dfb800,0x00dfb900,0x00e0ba00,0x00e0bb00,0x00e1bc00,0x00e1bd00,0x00e1be00,0x00e2bf00,0x00e2c000,0x00e3c100,0x00e3c200,0x00e4c300,0x00e4c400,0x00e5c500,0x00e5c600,0x00e6c700,0x00e6c800,0x00e6c900,0x00e7ca00,0x00e7cb00,0x00e8cc00,0x00e8cd00,0x00e9ce00,0x00e9cf00,0x00ead000,0x00ead100,0x00ebd200,0x00ebd300,0x00ebd400,0x00ecd500,0x00ecd600,0x00edd700,0x00edd800,0x00eed900,0x00eeda00,0x00efdb00,0x00efdc00,0x00f0dd00,0x00f0de00,0x00f0df00,0x00f1e000,0x00f1e100,0x00f2e200,0x00f2e300,0x00f3e400,0x00f3e500,0x00f4e600,0x00f4e700,0x00f5e800,0x00f5e900,0x00f5ea00,0x00f6eb00,0x00f6ec00,0x00f7ed00,0x00f7ee00,0x00f8ef00,0x00f8f000,0x00f9f100,0x00f9f200,0x00faf300,0x00faf400,0x00faf500,0x00fbf600,0x00fbf700,0x00fcf800,0x00fcf900,0x00fdfa00,0x00fdfb00,0x00fefc00,0x00fefd00,0x00fffe00,0x00ffff00] array ch[256] colormap = [0x00000000,0x000b030a,0x0011060f,0x00160815,0x001a0919,0x001d0b1e,0x00210d22,0x00230e26,0x0026102a,0x0028112e,0x002a1331,0x002c1535,0x002e1639,0x0030183c,0x00311a40,0x00321b43,0x00331d46,0x00341f49,0x0035214d,0x00362250,0x00362453,0x00372655,0x00372858,0x00372a5b,0x00382c5e,0x00382e60,0x00383062,0x00383265,0x00383467,0x00373669,0x0037386b,0x00373a6d,0x00373c6f,0x00363e70,0x00364072,0x00354273,0x00354475,0x00354776,0x00344977,0x00344b78,0x00334d79,0x00334f7a,0x0032527b,0x0032547c,0x0031567c,0x0031587c,0x00305a7d,0x00305c7d,0x002f5f7d,0x002f617d,0x002f637d,0x002e657d,0x002e677d,0x002e697d,0x002e6b7c,0x002e6d7c,0x002e6f7b,0x002e717b,0x002e737a,0x002e7579,0x002e7778,0x002e7977,0x002f7b77,0x002f7c76,0x00307e75,0x00308073,0x00318172,0x00328371,0x00328570,0x0033866f,0x0034886e,0x0035896c,0x00368a6b,0x00378c6a,0x00398d69,0x003a8e67,0x003c9066,0x003d9165,0x003f9263,0x00409362,0x00429461,0x00449560,0x0046965f,0x0048975d,0x004a975c,0x004c985b,0x004e995a,0x00509a59,0x00539a58,0x00559b57,0x00579b56,0x005a9c56,0x005c9c55,0x005f9d54,0x00619d54,0x00649d53,0x00679e53,0x006a9e52,0x006c9e52,0x006f9e52,0x00729e51,0x00759e51,0x00789f51,0x007b9f51,0x007e9f52,0x00819f52,0x00849f52,0x00869e53,0x00899e53,0x008c9e54,0x008f9e54,0x00929e55,0x00959e56,0x00989e57,0x009b9d58,0x009e9d59,0x00a19d5a,0x00a49d5c,0x00a69d5d,0x00a99c5e,0x00ac9c60,0x00af9c62,0x00b19c63,0x00b49c65,0x00b69b67,0x00b99b69,0x00bb9b6b,0x00be9b6d,0x00c09b6f,0x00c29a71,0x00c59a73,0x00c79a76,0x00c99a78,0x00cb9a7a,0x00cd9a7d,0x00cf9a7f,0x00d19a82,0x00d29a84,0x00d49a87,0x00d69a8a,0x00d79a8c,0x00d99a8f,0x00da9b92,0x00db9b94,0x00dd9b97,0x00de9b9a,0x00df9c9d,0x00e09c9f,0x00e19ca2,0x00e29da5,0x00e29da8,0x00e39eab,0x00e49ead,0x00e49fb0,0x00e59fb3,0x00e5a0b5,0x00e6a0b8,0x00e6a1bb,0x00e6a2bd,0x00e6a3c0,0x00e6a3c2,0x00e6a4c5,0x00e6a5c7,0x00e6a6ca,0x00e6a7cc,0x00e6a8cf,0x00e6a9d1,0x00e6aad3,0x00e5abd5,0x00e5acd7,0x00e4add9,0x00e4aedb,0x00e4afdd,0x00e3b1df,0x00e3b2e1,0x00e2b3e3,0x00e2b4e4,0x00e1b6e6,0x00e0b7e7,0x00e0b8e9,0x00dfb9ea,0x00dfbbec,0x00debced,0x00ddbeee,0x00ddbfef,0x00dcc0f0,0x00dbc2f1,0x00dbc3f2,0x00dac4f3,0x00dac6f4,0x00d9c7f5,0x00d8c9f5,0x00d8caf6,0x00d7cbf7,0x00d7cdf7,0x00d6cef7,0x00d6d0f8,0x00d6d1f8,0x00d5d2f8,0x00d5d4f9,0x00d5d5f9,0x00d4d6f9,0x00d4d8f9,0x00d4d9f9,0x00d4daf9,0x00d4dcf9,0x00d4ddf9,0x00d4def9,0x00d4dff9,0x00d4e0f9,0x00d4e2f8,0x00d4e3f8,0x00d4e4f8,0x00d5e5f8,0x00d5e6f8,0x00d5e7f7,0x00d6e8f7,0x00d6e9f7,0x00d7eaf6,0x00d7ebf6,0x00d8ecf6,0x00d9edf6,0x00d9eef5,0x00daeff5,0x00dbeff5,0x00dcf0f5,0x00ddf1f5,0x00def2f4,0x00dff2f4,0x00e0f3f4,0x00e1f4f4,0x00e2f4f4,0x00e3f5f4,0x00e4f6f4,0x00e5f6f4,0x00e6f7f4,0x00e7f7f4,0x00e9f8f4,0x00eaf8f5,0x00ebf9f5,0x00ecf9f5,0x00edfaf6,0x00effaf6,0x00f0fbf6,0x00f1fbf7,0x00f3fbf7,0x00f4fcf8,0x00f5fcf8,0x00f6fdf9,0x00f8fdfa,0x00f9fdfb,0x00fafefb,0x00fbfefc,0x00fdfefd,0x00fefffe,0x00ffffff] ## Last datafile plotted: "candlesticks.dat" plot 'candlesticks.dat' using 1:5:2:6:(.2):1 with boxerror lc pal blues fs solid 0.5, '' using 1:(1):1 with points pt 11 lc pal flame, '' using 1:(8):(by3($0)):(by4($0)):1 with xyerrorbars pt 5 ps 2 lc pal ch, '' using ($1+.5):($2/2):1 with impulses lc pal blues lw 3, '' using 1:(-3):(0.5):(1):1 with vectors lc pal flame, '' using 1:(-1):1:1 with labels tc pal z