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…

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…

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.…

Here, the trick is to use stack plots=y together with closedcycle to create the error bands. We define a new command, \addplotwitherrorbands[<optional styles>]{<function>}{<positive error>} {<negative…

Here’s an approach using pgfplotstable to calculate the Brownian motions as cumulative sums of random normally distributed values. You have to first initialize an empty…

We would like to plot several two-dimensional functions in a three-dimensional graph. Tabulated data can be plotted in different planes quite easily by using addplot3…

We want to generate a scatter plot: assume that we are given a couple of special (x; y) coordinates along with color data at every…

We assume that we did some scientfic experiment. The scientific experiment yielded three input data tables: one table for each involved parameter d = 2,…