Function plots — a Lattice plugin, live

Plugin · Demo

Function plots

Write the function; the slide draws its graph in your theme.

A functionplot code block holds a small config — the function, like 1 / (1 + exp(-x)), and the range to show — and the slide draws the curve as a crisp vector graph in the deck's palette. Put it beside its equation on a math slide, or on any slide at all.

Open in Playground
Example

Pick an example, then press Edit and change it — the slide redraws as you type.It's on in every deck: there's nothing to install or switch on.

Learn what it's for, and how to use it

The guide covers the problem it solves, the syntax in full, where it fits beyond slides, and what it doesn't do.