The ternary library allows to draw ternary diagrams. A ternary diagram visualizes three-component systems such that the sum of them yields 100 percent. Ternary diagrams…

Both mesh and surface plots are actually special parametrized plots where x and y are on cartesian grid points. Parameterized plots just need a special…

A surface plot visualizes a two dimensional, single patch using different fill colors for each patch segment. Each patch segment is a (pseudo) rectangle, that…

We would like to plot a function of two variables given by the math expression exp(-x^2 – y^2) * x. The code is from the…

Stacking plots means to add either x or y coordinates of successive addplot commands on top of each other. The code is from the PGFPlots…

Constant plots draw lines parallel to the x-axis to connect coordinates. The discontinuous edges may be drawn or not, and marks may be placed on…

Here we use the TikZ spy library for magnifying a part of a plot. The code is from the PGFPlots 1.10 manual: “4.7.3 Edges and…