Examples
Demo Examples
Bar plot with error bars
This example demonstrates how to place error bars on a bar plot. This is achieved by adding a with error bars but without lines on top of the bar chart.
Bar plot with numbers
This example shows how to add labels to the bars of a bar chart.
Climograph
A climograph of Berlin showing temperature and precipitation with twin axes.
Dual axis
This demo shows how to use dependent axes to create a secondary axis showing the same data in a different unit. In this case, the spectrum is drawn over the wavelength on the bottom $x$-axis and over the corresponding photon energy (related through $E=hc/λ$) on the top $x$-axis.
Koch Snowflake
How to use the path function to plot a fractal with Lilaq.
Plot data from CSV file
Using load-txt to make loading data from a file easier.
Plot within a plot
Adding a miniature plot to show more details of a graph.
Schoolbook style
A reusable "schoolbook"-style diagram preset with arrow tips on the axis spines as well as centered and filtered ticks.
Styled Marks
Using scatter plots to create colored marks.