Adjust wrong set_mini arguments order - gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrancesco Abbate <francesco.bbt@gmail.com>2012年02月03日 22:37:43 +0100
committerFrancesco Abbate <francesco.bbt@gmail.com>2012年02月03日 22:37:43 +0100
commit23cb4843b180005e213a320c1dccd8d79a3330c6 (patch)
treea94848ad32f3e036254e5269beeccc3e315b811d
parent008fbbfbc04d8d5b23bc641f6c204d45838d4446 (diff)
downloadgsl-shell-23cb4843b180005e213a320c1dccd8d79a3330c6.tar.gz
Adjust wrong set_mini arguments order
Diffstat
-rw-r--r--benchmarks/plot-benchmark.lua 2
-rw-r--r--contour.lua 4
2 files changed, 3 insertions, 3 deletions
diff --git a/benchmarks/plot-benchmark.lua b/benchmarks/plot-benchmark.lua
index 858b89f2..cfe1eb37 100644
--- a/benchmarks/plot-benchmark.lua
+++ b/benchmarks/plot-benchmark.lua
@@ -84,7 +84,7 @@ local function htable_barplot(ht)
local lgs = iter.ilist(|k| {fb[k], graph.webcolor(k), 'square'}, #fb)
local lg = graph.legend(lgs)
- p:set_mini('r', lg)
+ p:set_mini(lg)
p:show()
return p
diff --git a/contour.lua b/contour.lua
index 0c99608e..fe39bf3e 100644
--- a/contour.lua
+++ b/contour.lua
@@ -823,7 +823,7 @@ function contour.plot(f, x1, y1, x2, y2, options)
if opt 'legend' then
local lgd = g.create_legend()
- p:set_mini('r', lgd)
+ p:set_mini(lgd)
end
if opt 'show' then p:show() end
@@ -844,7 +844,7 @@ function contour.polar_plot(f, R, options)
if opt 'legend' then
local lgd = g.create_legend()
- p:set_mini('r', lgd)
+ p:set_mini(lgd)
end
if opt 'lines' then g.draw_lines(p, 'black') end
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月25日 20:05:19 +0000

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