Example: charts-scientific/scatterplot_with_labels

Output File:

Source File:

(width 1600px)
(height 900px)
(dpi 240)
(default font "Latin Modern Roman")

(default limit-x (0 60))
(default limit-y (-40 60))

(plot/axes)

(plot/grid
    color (rgba 0 0 0 .05)
    stroke-style (dashed)
    tick-placement-x (none))

(plot/points
    data-x (csv test/testdata/point_example.csv x)
    data-y (csv test/testdata/point_example.csv y)
    shape (circle-bullet)
    sizes (csv test/testdata/point_example.csv z)
    size-map (linear .4em 1.4em)
    labels (csv test/testdata/point_example.csv z))

Run this example:

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