Example: charts-scientific/vectorfield

Output File:

Source File:

(set width 2048px)
(set height 1024px)
(set dpi 240)
(set font "Latin Modern Roman")

(plot
  limit-x (-4 4)
  limit-y (-2 2)
  vectors (
      data-x (csv "tests/testdata/vectorfield.csv" x)
      data-y (csv "tests/testdata/vectorfield.csv" y)
      data-dx (csv "tests/testdata/vectorfield.csv" dx)
      data-dy (csv "tests/testdata/vectorfield.csv" dy)))

Run this example:

$ clip --in examples/charts-scientific/vectorfield.clp --out output.svg
Edit this page on GitHub