Commit 9a481035 authored by Paul Asmuth's avatar Paul Asmuth
Browse files

rename tools/plotgen -> figure/plot

parent bfe3e8c2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ const CommandMap COMMANDS = {
  {"layer/set-dpi", bind_cmd(&layer_set_dpi)},
  {"layer/set-font", bind_cmd(&layer_set_font)},
  {"layer/set-font-size", bind_cmd(&layer_set_font_size)},
  {"tools/plotgen", bind_cmd(&plot_eval)},
  {"figure/plot", bind_cmd(&plot_eval)},
};

CommandFn bind_cmd(CommandFnRef ref) {
+1 −1
Original line number Diff line number Diff line
(layer/resize 1024px 512px)
(layer/set-dpi 96)

(tools/plotgen
(figure/plot
    limit-y (0 20000000)
    limit-x (1404278100 1404299700)
    axes (
+1 −1
Original line number Diff line number Diff line
(layer/resize 1200px 480px)
(layer/set-dpi 96)

(tools/plotgen
(figure/plot
    limit-y (-50 50)
    axes (
        position (bottom top)
+1 −1
Original line number Diff line number Diff line
(layer/resize 1200px 480px)
(layer/set-dpi 96)

(tools/plotgen
(figure/plot
    limit-x (0 150)
    limit-y (1404278100 1404299700)
    axes (
+1 −1
Original line number Diff line number Diff line
(layer/resize 2048px 512px)
(layer/set-dpi 240)

(tools/plotgen
(figure/plot
    scale-x (categorical (A B C D E F))
    limit-y (0 80)
    axes (
Loading