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:
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日 07:33:23 +0000

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