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…

This Lemniscate envelope is generated by sweeping a circle, which has its center on a hyperbola. This code was written by Pouya on TeX.SE. LuaLaTeX…

For drawing a spiral cone, we need to find an appropriate parametrization. This code was written by Gonzalo Medina on TeX.SE. \documentclass[border=5pt]{standalone} \usepackage{pgfplots} \pgfplotsset{width=7cm,compat=1.8} \usetikzlibrary{decorations.markings}…

For displaying the total effect of a series of values, a waterfall chart can be useful. For example this chart, taken from “The Economist”, illustrates…

We would like to make an image to illustrate the construction of a spiral capacitor. These are made of spiral coiled films. It’s like a…

Using PGFPlotstable, we can use a naive numerical integration scheme to find the function directly within LaTeX. This code was written by Jake on TeX.SE.…

This is one I like from my thesis. It illustrates the predicted boundaries for boundary layer transition mechanisms on a cylindrical afterbody at incidence: free…