author | Francesco Abbate <francesco.bbt@gmail.com> | 2012年02月03日 22:37:43 +0100 |
---|---|---|
committer | Francesco Abbate <francesco.bbt@gmail.com> | 2012年02月03日 22:37:43 +0100 |
commit | 23cb4843b180005e213a320c1dccd8d79a3330c6 (patch) | |
tree | a94848ad32f3e036254e5269beeccc3e315b811d | |
parent | 008fbbfbc04d8d5b23bc641f6c204d45838d4446 (diff) | |
download | gsl-shell-23cb4843b180005e213a320c1dccd8d79a3330c6.tar.gz |
-rw-r--r-- | benchmarks/plot-benchmark.lua | 2 | ||||
-rw-r--r-- | contour.lua | 4 |
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 |