Use a different color palette for web colors - gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/graph-init.lua
diff options
context:
space:
mode:
authorFrancesco Abbate <francesco.bbt@gmail.com>2012年01月31日 17:21:34 +0100
committerFrancesco Abbate <francesco.bbt@gmail.com>2012年01月31日 20:59:19 +0100
commit739cb9516d8c7e3c331d61dd5e84c2859c21b44d (patch)
treedc774c58cc3969a0e4bf961647f0fac90bbfe18d /graph-init.lua
parentebdf1b9f85a4dca54bd785b9b41308c5c6026845 (diff)
downloadgsl-shell-739cb9516d8c7e3c331d61dd5e84c2859c21b44d.tar.gz
Use a different color palette for web colors
Diffstat (limited to 'graph-init.lua')
-rw-r--r--graph-init.lua 5
1 files changed, 2 insertions, 3 deletions
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
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月21日 00:02:13 +0000

AltStyle によって変換されたページ (->オリジナル) /