View on

Example: areacharts/area_ranges

Output File:

Source File:

width: 1200px;
height: 480px;

scale-y-min: -50;
scale-y-max: 50;

areas {
  xs: csv('tests/testdata/areadata2.csv', x);
  ys: csv('tests/testdata/areadata2.csv', z);
  y-offsets: csv('tests/testdata/areadata2.csv', y);
  color: #4572a7;
}

areas {
  xs: csv('tests/testdata/areadata2.csv', x);
  ys: csv('tests/testdata/areadata2.csv', z2);
  y-offsets: csv('tests/testdata/areadata2.csv', y2);
  color: #aa4643;
}

axis {
  position: top;
  format: datetime("%H:%M:%S");
}

axis {
  position: bottom;
  format: datetime("%H:%M:%S");
}

axis {
  position: left;
}

axis {
  position: right;
}

Run this example:

$ plotfx --in examples/areacharts/area_ranges.ptx --out output.svg
Edit this page on GitHub