The sine function is a well known periodic function. Choose an argument factor, which doesn’t divide the period well, and you can see a complicated…

The sine function is a well known periodic function. Choose an argument factor, which doesn’t divide the period well, and add another sine function with…

Here we can see how parts of a curve can be emphasized. A color shading partitions the plane. The code is from a question by…

This example was written for an article on pgfplots for ArsTeXnica, the GuIT’s periodical. The plot family shows the resonance of an harmonic elementary oscillators…

The Mandelbrot consists of points whose boundary is a two-dimensional fractal shape. It is named after the mathematician Benoit Mandelbrot. It’s computed using a lot…

This edgeworth box describes the optimal allocation (pareto efficient) of inputs for the Cobb-Douglas production functions of two countries/regions (A and B). In addition, it…

We will draw a regression line through some points, as in http://pgfplots.net/tikz/examples/regression-line/ . This time, we will implement a style for negative and positive residuals…

The Weierstrass function is a pathological one: is continuous everywhere but differentiable nowhere. The original code was written by Herbert Voss on TeX.SE, Stefan Kottwitz…