View on

Example: charts-scientific/vectorfield

Output File:

Source File:

(set width 2000px)
(set height 1000px)
(set dpi 200)
(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:

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