Commit 8b99105d authored by Paul Asmuth's avatar Paul Asmuth
Browse files

simplify readme example

parent 460f4d6a
Loading
Loading
Loading
Loading
+3 −11
Original line number Diff line number Diff line
@@ -38,21 +38,13 @@ Output File (`example_chart.svg`):
Input File (`example_chart.plot`):

    plot {
      data: csv('testdata/city_temperatures.csv');
      x: var(month);
      y: var(temperature);
      group: var(city);

      axis-y-min: -10;
      axis-y-max: 32;

      layer {
        type: lines;
      }

      layer {
        type: points;
        size: 3.3pt;
        x: csv('data.csv', month);
        y: csv('data.csv', temperature);
        group: csv('data.csv', city);
      }
    }