author | Francesco Abbate <francesco.bbt@gmail.com> | 2012年01月31日 17:21:34 +0100 |
---|---|---|
committer | Francesco Abbate <francesco.bbt@gmail.com> | 2012年01月31日 20:59:19 +0100 |
commit | 739cb9516d8c7e3c331d61dd5e84c2859c21b44d (patch) | |
tree | dc774c58cc3969a0e4bf961647f0fac90bbfe18d /graph-init.lua | |
parent | ebdf1b9f85a4dca54bd785b9b41308c5c6026845 (diff) | |
download | gsl-shell-739cb9516d8c7e3c331d61dd5e84c2859c21b44d.tar.gz |
-rw-r--r-- | graph-init.lua | 5 |
diff --git a/graph-init.lua b/graph-init.lua index 8510a2f5..5532c70f 100644 --- a/graph-init.lua +++ b/graph-init.lua @@ -203,9 +203,8 @@ graph.color = { } local bcolors = {'red', 'blue', 'green', 'magenta', 'cyan', 'yellow'} -local wcolors = {0x3366ff, 0xcc0000, 0xcc33ff, 0xff3366, 0xffcc33, 0x66ff33, 0x33ffcc} --- local wcolors = {0x6699ff, 0xcc66ff, 0xff6699, 0xffcc66, 0x99ff66, 0x66ffcc} --- local wcolors = {0x003399, 0x660099, 0x990033, 0x996600, 0x339900, 0x009966} +-- colors from a popular spreadsheet application +local wcolors = {0x4f81bd, 0xc0504d, 0x9bbb59, 0x695185, 0x3c8da3, 0xcc7b38} function graph.rainbow(n) local p = #bcolors |