Two series will be shown in a bar plot. Additionally, they contain sub series, which we would like to plot in the same diagram. So…

A group plot example, posted by Elke Schubert on TeXwelt.de. \documentclass[margin=5mm]{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.8} \usepackage{pgfplotstable} \usepgfplotslibrary{groupplots} \begin{document} \begin{tikzpicture} % Read the file % if needed, define…

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…

Here we show how contour plots and 3D surface plots can be combined. Pgfplots can compute the z contours by means of gnuplot and its…

We will combine surface and contour plots. We would like the contour lines drawn on the surface to be hidden by the surface in the…

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…

We would like to plot a graph within a table column, similar to the weather data example. We will use the booktabs package for good…

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…