Simple Plotting

This tutorial uses a custom javascript plotting system built on the Flot library ( The plotting interface provided by is still under heavy development and may change.

The plot command accepts a list of datasets to be plotted. Valid datasets include a simple arrayref of y values (x values will be generated),

plot([1, 2, 3]);

... an arrayref of x-y points


... a 1D PDL object containing y values


... or an arrayref of 1D PDL objects of x and y values respectively