Commit 676a08ac authored by Paul Asmuth's avatar Paul Asmuth
Browse files

shorten the command names

parent 7fc8fe33
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -34,18 +34,18 @@ Output File (`example_chart.svg`):

Input File (`example_chart.clp`):

    (plot/add-axes
    (plot/axes
        position (bottom left)
        label-format-y (scientific)
        label-format-x (datetime "%H:%M:%S")
        label-placement-x (linear-align 1800))

    (plot/draw-lines
    (plot/lines
        data-x (csv "test/testdata/measurement.csv" time)
        data-y (csv "test/testdata/measurement.csv" value1)
        color #06c)

    (figure/draw-legend
    (figure/legend
        position (top right)
        item (label "Random Data" color #06c))

+2 −2
Original line number Diff line number Diff line
name: plot/add-axes
name: plot/axes
desc: |
  The `plot/add-axes` command draws up to four labelled 'axis' (top/right/bottom/left) and
  The `plot/axes` command draws up to four labelled 'axis' (top/right/bottom/left) and
  changes the document layout so that further painting takes place inside of the
  rectangle described by the axes.

+2 −2
Original line number Diff line number Diff line
name: plot/draw-areas
name: plot/areas
desc: |
  The `plot/draw-areas` command takes an input data table, transforms it according
  The `plot/areas` command takes an input data table, transforms it according
  to a user-provided scale configuration and then plots the data as one or more
  'area' shapes.

+2 −2
Original line number Diff line number Diff line
name: plot/draw-axis
name: plot/axis
desc: |
  The `plot/draw-axis` command draws a labelled 'axis'.
  The `plot/axis` command draws a labelled 'axis'.

arguments:

+2 −2
Original line number Diff line number Diff line
name: plot/draw-bars
name: plot/bars
desc: |
  The `plot/draw-bars` command takes an input data table, transforms it according
  The `plot/bars` command takes an input data table, transforms it according
  to a user-provided scale configuration and then plots the data as one or more
  'bars' (rectangle shapes).

Loading