User Guide
Reference
Examples
Download
Github

Example: charts-scientific/scatterplot_colors

Output File:

Source File:

size: 1600px 900px;
dpi: 240;
font: "Latin Modern Roman";
limit-x: 0 400;
limit-y: 0 200;

axes {
  label-placement-y: subdivide(5);
}

points {
  data-x: csv(testdata/gauss3d.csv x);
  data-y: csv(testdata/gauss3d.csv y);
  shape: circle-o;
  colors: csv(testdata/gauss3d.csv z);
  color-map: gradient(0 #aaa 1.0 #000);
}

legend {
  position: bottom left;

  item {
    label: "Random Data";
    marker-shape: circle-o;
  }
}

Run this example:

$ clip --export output.svg charts-scientific/scatterplot_colors.clp
Edit this page on GitHub